how to read and assign big integers in c
I am trying to assign big integer value to a variable in c and when I
print I only get 10123456; what is the issue.
int main(){
long a = 1234567890123456;
printf("\n",sizeof(a));
printf("%ld",a);
}
No comments:
Post a Comment