Saved Bookmarks
| 1. |
What will be the values of the variables ‘p’ and ‘q’ after the execution of the following code? int p, q=0; for (p=1; p<9; p++) { q+=p; q--; } |
|
Answer» The values of p= 10 and q = 36 |
|