Identify the empty loop from the following.
A. for( i+0 ; i<=5; +=i);
B. for( i+0 ; i<=5; +=i); {cout<<“C++”;>
C. for( i+0 ; i<=5; +=i) { }
D. All the above
Answer:D
Identify the empty loop from the following.
A. for( i+0 ; i<=5; +=i); B. for( i+0 ; i<=5; +=i); {cout<<“C++”;> C. for( i+0 ; i<=5; +=i) { } D. All the above