[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 :: Increment-Decrement - Discussion

Home > C Programming > Increment-Decrement > MCQs Questions Discussion

7 / 45

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

#include<stdio.h>
#define plus +
#define minus +plus
int main(){
    long x,i=3;
    x=++i;
    printf("%ld",x);
    return 0;
}

A4

B3

C0

D6

ECompilation error

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Societe Generale

Post Your Answer Here:     

No Discussion on this question yet!