[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

22 / 34

The output of the following program is

#define two (x) 2*x
#define ddouble (x) x + x

void main()
{
int num, sum, product;
num = 1;
sum = - two (num); sum = -(sum + 1);
product = - ddouble (num);

printf ("%d%d/n" ,sum,product);
}

A0 0

B0 1

C1 1

D1 0

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!