What will be the output of the following C code? #...
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
APPSC Prelims previous year questions

What will be the output of the following C code? #include <stdio.h> int main() { signed char chr; chr = 128; printf("%d\n", chr); return 0; } Choose the correct option.

Asked in APPSC (Arunachal) Question Booklet (Set-A) of Paper I and Paper II 2026

  1. 128
  2. -128
  3. 0
  4. Compile-time error
Show answer

Answer: B. -128

More APPSC Prelims previous year questions questions

All 7,479 APPSC Prelims previous year questions questions →