Give the output of the programvoid main(){unsigned i=1; /* unsigned char k= -1 => k=255; */signed j=-1; /* char k= -1 => k=65535 *//* unsigned or signed int k= -1 =>k=65535 */if(i<j)printf("less");elseif(i>j)printf("greater");elseif(i==j)printf("equal");}

Less

Showing Answers 1 - 1 of 1 Answers

santhosh kumar r

  • Oct 7th, 2006
 

the answer is greater.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions