[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

30 / 34

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

#include<stdio.h>
#define max(a,b) (a>b?b:a)
#define squre(x) x*x
int main()
{
int i = 2, j = 3, k = 1;
printf ("%d %d", max(i,j), squre(k));
return 0;
}

A2 1

B3 2

C3 1

D1 3

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer 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