Vidyalelo
C Programming · Q182

C Fundamentals

Programming · C Programming · question 182

Q182

What will be the output of the following C code? #include int main() signed char chr; chr = 128; printf("%d ", chr); return 0;

A.
128
B.
-128
Answer
C.
Depends on the compiler
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board