πŸ“Š C Programming
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) -128

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
200
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Geetam
Publisher
πŸ“ˆ
90%
Success Rate