Program to know the range of unsigned integer

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

Comments

Popular posts from this blog

Finding the second largest in an array