Vidyalelo
C Programming · Q85

Control Structures

Programming · C Programming · question 85

Q85

What will be the output of the following C code? #include void main() int k = 0; for (k < 3; k++) printf("Hello");

A.
Compile time error
Answer
B.
Hello is printed thrice
C.
Nothing
D.
Varies

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board