[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 :: Loop Control - Discussion

Home > C Programming > Loop Control > MCQs Questions Discussion

17 / 61

What is the output of the following 'C' program?

#include<stdio.h>
void main()
{
static int i; 
while(i<=10) 
(i>2)?i++:i--; 
printf("%d", i);
}

AGarbage Value

BCompilation Error

C0

D2147483647

ENone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!