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;
        float b=4.5;
        printf("%.2f\n",max(a, b));
}
 

A Results in Compilation Error 

B Undefined value 

C 4.50 

D 4.0 

E None 

+ Answer
+ Report
Total Preview: 986

Copyright © 2024. Powered by Intellect Software Ltd