Question
What is the difference between the following 2 codes?//Program 1 int main() { int d, a = 1, b = 2; d = a++ + ++b; printf("%d %d %d", d, a, b); } //Program 2 int main() { int d, a = 1, b = 2; d = a++ + ++b; printf("%d %d %d", d, a, b); }
Answer: Option A
Was this answer helpful ?
None.
Was this answer helpful ?
Submit Solution