Total number of Question:30
Viewed Question:1
Remaining Question:29

Remaining Time :


Assume that i,j and k are integer variables and their values are 8, 5 and 0 respectively. What will be the values of variables i and k after executing the following expression ?
k=(j>5)?(i<5)?i-j:j-i:k-j;
i-=(k)?(i)?(j)?:(i):(k);
What will be the result of execution ?

  -3 and 3
  3 and -5
  3 and -3
  -5 and 3