Question Bank » Computer » C-Language

Q
Will this loop terminate?
int x=10;
while( x-- > 0 );
 
A) no
B) yes
C) It will cause segfault
D) It will not compile

facebook
twitter
google plus
linkedin
pinterest

Enter your E-Mail to receive updates