adplus-dvertising
frame-decoration

Question

Output of the following 'C' program is
main
{
printf("\n%x",-1>>4);
}

a.

ffff

b.

0fff

c.

0000

d.

Error

Posted under C Programming

Answer: (a).ffff

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Output of the following 'C' program is