What will be the output of the following C code?
#include <stdio.h>
int main()
{
do
printf("In while loop ");
while (0);
printf("After loop\n");
}
#include <stdio.h>
int main()
{
do
printf("In while loop ");
while (0);
printf("After loop\n");
}
A. In while loop
B. In while loop After loop
C. After loop
D. Infinite loop
Answer: Option B
Join The Discussion