hi.......
i do have a doubt on this problem.please help me to solve it.here it goes........
main()
{
int x=5;
printf(“%d,%d,%d\n”,x,x<<2,>>2)
;
}
Answer: 5,20,1
now my problem is to know how the followin answer occurs?i know that its of rite shift and left shift which shifts the byte.can any one tell me clearly how tis answer comes?please....... thank you in advance.:?:
and how can we use a sizeof() in malloc operations?