Code: main() { printf("%x",-1<<4) } the result for this code is fff0 how does this result is obtained.. what is the actual process behind it...
ffff is shifted left 4 bits, therefore the left-hand f disappears and a 4 bits of zero appear on the right. I mean it now, you are being silly and acting like a spoiled brat that expects everything to be provided without any effort on your part. Read some documentation.