[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: C Preprocessor - Discussion

Home > C Programming > C Preprocessor > MCQs Questions Discussion

11 / 34

What will be output of the following "c" code?

#include<stdio.h>
#define  max(a,b)  (a>b)? a:b
int  main()
{
int a,b; a=3; b=4;
printf("%d",max(a,b));
return 0;
}

A3

B4

C12

D0

ECompilation Error

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Capgemini

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +1 -0 +
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +1 -0 +
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here