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