Saved Bookmarks
| 1. |
What will be the values of variables ‘P’ and ‘Q’ after the execution of the following code? int P, Q=0; for (P=1; P<=4; P++) { Q+=P; Q--; } |
|
Answer» P=5 and Q=6, |
|