Q30: Write the output for program segment: int n; n = -32768; printf(“%d”, n - 1);

 

A30:

In 32-bit Architecture Output = 32767.

In 64-bit Architecture Output = -32769.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.