Question 7
· unclassifiedP · Verified PYQ
Problem
What will be the output of the following code? #include<stdio.h> Int main() { while(){ printf(“hello world”); } return 0; }
- A. Compile error
- B. No output will be printed
- C. hello world
- D. Infinite loop
Answer: A