[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

86 / 45

Find the output for the following C program

#include
int i = 10;
int main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10;
i++;
}
printf("%d k", i);
}

A10

B20

CStack overflow

D0

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Cisco Societe Generale

Post Your Answer Here:     

No Discussion on this question yet!