Home / Programming MCQs / C Programming MCQs / Question

G

Geetam • 5.95K Points
Tutor III

Q. What will be the output of the following C code?

Code:
#include  <stdio.h>
    int main()
    {
       signed char chr;
       chr = 128;
       printf("%d\n", chr);
       return 0;
    }
(A) 128
(B) -128
(C) Depends on the compiler
(D) None

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.