How can the fact that the size of unsigned int is 4bytes and yet can't accomodate this value be explained?
#include<stdio.h>
int main(void){
unsigned int usint= 4294967294;
printf("%d %d\n",usint,sizeof(unsigned int));
}
//*********************/
gcc shift.c
shift.c: In function ‘main’:
shift.c:6: warning: this decimal constant is unsigned only in ISO C90
gcc shift.c -std='c99'
$ ./a.out
-2 4
Lawal.O
[Non-text portions of this message have been removed]
