[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

30 / 61

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

#include<stdio.h>

void main() {
int i= 0;
for(; i++; printf("%d", i));
printf("%d", i);
}

A1 1

B0

Cinfinite loop

D1

ENone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!