Obviously the code below is too naive. How can an very large input be successfully compared with the largest int possible?
#include <stdio.h>
#include <limits.h>
int main ( void )
{
unsigned long long input;
printf("Enter a big integer: ");
scanf ( "%llu", & input) ;
if ( input > ULLONG_MAX ) printf ( " Too big!\n" ) ;
else printf ( "%llu is not that big.\n" , input ) ;
return 0;
}