Answers for "What will be the values of variables p, q and i at the end of following loop? int p = 5; int q = 18; for(int i=1;i<5;i++) p++; --q;"

0

What will be the values of variables p, q and i at the end of following loop? int p = 5; int q = 18; for(int i=1;i<5;i++) p++; --q;

int p = 5;
int q = 18;
for(int i=1;i&lt;5;i++)
p++;
--q;
Posted by: Guest on July-16-2021

Code answers related to "What will be the values of variables p, q and i at the end of following loop? int p = 5; int q = 18; for(int i=1;i&lt;5;i++) p++; --q;"

Browse Popular Code Answers by Language