Dear friend,
If i write
unsigned char c;
c=2;
printf("The value after bit shift is %d",(c<<16);
Is it a valid syntax will i get an exact answer?
I am getting zero for this why??
As I am not storing this value to any other variable i must get the correct answer for printf but I am not getting why??
Plz answer me
regards
If i write
unsigned char c;
c=2;
printf("The value after bit shift is %d",(c<<16);
Is it a valid syntax will i get an exact answer?
I am getting zero for this why??
As I am not storing this value to any other variable i must get the correct answer for printf but I am not getting why??
Plz answer me
regards