☰
GkSeries.com
āœ•

Q.

If the following loop is implemented

void main()
{ 
	int num = 0;
	do
	{
		- - num;
		printf (ā€œ%dā€, num);
		num ++;
	}
	while (num >=0);	
}
[A] A run time error will be reported
[B] The program will not enter into the loop
[C] The loop will run infinitely many times
[D] There will be a compilation error reported
Answer & Explanation
Option: [C]