

/* What is the output of the following?*/
/*
a) Value of i is 10
b) Value of i is 5
c) Value of i is 7
d) The loop runs infinitely. Nothing is printed.
e) None of the above
*/

#include <stdio.h>

main()
{
   int i=5, j=10,k;

   k = i+j/i*2;
   printf("%d\n",k);

   k = (i+j)/i*2;
   printf("%d\n",k);

   k = i<j;
   printf("%d\n",k);

   k = i<j && i==5 || j<5;
   printf("%d\n",k);

   k = ++i*j++;
   printf("%d\n",k);

}
