Question: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);
}
 

A Results in Compilation Error 

B 6 4 5 

C 6 5 7 

D 6 5 6 

E None 

+ Answer
+ Report
Total Preview: 671

Copyright © 2024. Powered by Intellect Software Ltd