Algorithms Quiz | SP2 Contest 1 | Question 12
What will be the output of the below C program?
#include <stdio.h> int main(){ while() printf("Hello Inner Geek\n"); printf("Hello Outer Geek\n"); return 0;} |
(A) Hello Outer Geek
(B) Hello Inner Geek
Hello Outer Geek
(C) Compilation Error
(D) Hello Inner Geek
Answer: (C)
Explanation: Missing condition expression for while loop.
Quiz of this Question



