-
What will be the output of the following C code?
#include <stdio.h>
int main()
{
while ()
printf("Executed In while loop ");
printf("Executed After loop\n");
}
-
- Executed After loop
- Compilation Error
- Infinite loop
- Executed In while loop
- None of these
Correct Option: B
Compilation Error
main.c: In function ‘main’:
main.c:4:16: error: expected expression before ‘)’ token
while ()