[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

37 / 45

What will be output of following c program?

#include<stdio.h>
auto int tcs(int);
int main(){
    int a=5;
    a=tcs(a);
    printf("%d",a);
    return 0;
}
auto int tcs(int x){
    return x++;
}

ACompilation error

B6

C5

DNone of the above

Answer: Option (Login/Signup)

Show Explanation

Asked In :: TCS

Post Your Answer Here:     

No Discussion on this question yet!