

InterviewSolution
Saved Bookmarks
1. |
Evaluate the following :-int m=11, r=7,k=3;find k+=(--m%5)*(m++ *(10 + r++)); |
Answer» N:-➡ Evaluate the FOLLOWING expression.Solution:-Given that, m=11r=7 andk=3k+=(--m%5)*(m++*(10+r++));➡ k = 3 + (10%5)*(10*(10+7))➡ k = 3+0*(10*17)➡ k = 3+0➡ k = 3Hence, the final value of k after EXECUTION is 3.For verification, check out the ATTACHMENT. | |