MCQs>IT & Programming>Programming With C>What would be printed on the standard output as a result of the following code snippet? main() { int n=5, x; x = n++; printf('%d ', x); x = ++n; printf('%d ', x++); printf('%d', x); return 0; }
Programming With C MCQs
What would be printed on the standard output as a result of the following code snippet? main() { int n=5, x; x = n++; printf("%d ", x); x = ++n; printf("%d ", x++); printf("%d", x); return 0; }
Answer
Correct Answer: 5 7 8
Explanation:
Note: This Question is unanswered, help us to find answer for this one