Example for do while loop in C:
What will be the output of this below program?
infinite loop and crash
compile time error
This is the do while logic to loop infinite no of times as while condition is not true. 1>0 is true. so it prints anti virus!! for infinite no of times, till stack overflows and finally crashes.
Back To Top