Skip to content
Related Articles

Related Articles

Algorithms Quiz | SP2 Contest 1 | Question 12

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 28 Aug, 2018

What will be the output of the below C program?

#include <stdio.h>
int main()
        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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!