Sunday, 4 January 2015

Programming Quiz-65


main()
  {
   int i =10, j = 20;
   printf("%d, %d\n", j-- , --i);
   printf("%d, %d\n", j++ , ++i);
  }

a. 20, 10, 20, 10
b. 20, 9, 20, 10
c. 20, 9, 19, 10
d. 19, 9, 20, 10 


Answer: C

No comments:

Post a Comment