Q:

Guess the output void main() { char a = 'a'; int x = (a % 10)++; printf("%d\n", x); }

0

Guess the output

void main() { char a = 'a'; int x = (a % 10)++; printf("%d\n", x); }


  1. Grabage Value
  2. Compiler Error
  3. Output: 10
  4. Output: 0

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

Compiler Error

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C Programming Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Assume the output #include int main() { int x = 10... >>
<< No of keywords in C...