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
What does the "return" statment do?
What does the "return" statment do?
Jul 5, 2011 at 9:50pm UTC
TexanMonkey
(55)
I dont know
return
statment does.
I was looking in classes(I) section of the tutorial and I noticed
return
(x*y);
.
I was just wondering what
return
does?
Jul 5, 2011 at 9:56pm UTC
closed account (
3hM2Nwbp
)
I've always found it bad practice to use a term while explaining it, but nonetheless, it
returns
the program flow to the calling function. It may also
return
a value to the calling function.
Jul 5, 2011 at 10:03pm UTC
TexanMonkey
(55)
Thanks
Topic archived. No new replies allowed.