cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
helppppp
helppppp
Jul 27, 2011 at 6:17pm UTC
costaaa
(18)
What are the values of i and n after this loop executes?
int n = 0;
for(int i = 0; i < 12; i++) {
n += 3;
}
Jul 27, 2011 at 6:54pm UTC
Caligulaminus
(201)
I could tell you... but why don't you just try it out?
Last edited on
Jul 27, 2011 at 6:55pm UTC
Jul 27, 2011 at 7:10pm UTC
cnoeval
(643)
The answer is... *i and *n. Get the
point
?
Jul 28, 2011 at 3:55am UTC
rambo1177
(35)
at the end n=36....i=12
Topic archived. No new replies allowed.