Sunday, 4 January 2015

Programming Quiz-67



main()
  {
  int x=5;
  for(;x!=0;x--) {
  printf(“%d\n”, x--); }
  }
 

a. 5, 4, 3, 2,1
b. 4, 3, 2, 1, 0
c. 5, 3, 1
d. none of the above 


Answer: C

No comments:

Post a Comment