[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

57 / 61

What is the output of the following code ?

#include<stdio.h>
int main()
 {
  for( ; ;);
  printf("Hello\n");
  return 0;
 }

Agive compilation error

Bprints Hello infinite times

CRuns in an infinite loop without printing anything

Dprints Hello once

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Global Edge

Post Your Answer Here:     

No Discussion on this question yet!