cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how's result 7?
how's result 7?
Mar 4, 2014 at 5:26pm UTC
cyter
(11)
How's the result 7 in the following code?
1
2
void
foo(
int
i){
if
(i>1){foo(i/2);foo(i/2);}cout<<
"#"
<<endl;}
Mar 4, 2014 at 5:33pm UTC
Peter87
(11234)
What do you mean? 7 what?
Topic archived. No new replies allowed.