Home » C Programming » Data Types » Question
  1. What is the output of the following C code?
     #include  <stdio.h>
    int main()
    {
    signed char ch;
    ch = 129;
    printf("%d\n", ch);
    return 0;
    }
    1. 129
    2. -129
    3. 127
    4. -127
    5. None of these
Correct Option: D

signed char will be a negative number.



Your comments will be displayed only after manual approval.