Program to know the range of signed integer

/* Program to know the range of signed integer*/
#include <stdio.h>
#include <limits.h>
int main() {
int var1 = INT_MIN;
int var2 = INT_MAX;
printf("range of signed integer is from %d to %d",var1,var2);
  return 0;
}

Comments

Popular posts from this blog

Finding the second largest in an array