Q. What will be the output of the following C code?
Code:#include <stdio.h>
int main()
{
int x =-100;
-100;
printf("%d",x);
return 0;
}
β
Correct Answer: (B)
-100
Explanation: The statement "-100;" is evaluated and this does not affect the value of "x".