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
Find example to prove function be error
Find example to prove function be error
Oct 14, 2012 at 9:38am UTC
duahau8888
(1)
As the title, I wonder if anyone can give examples to prove following functions be errors:
int& abc() { int a = 5; return a; }
int* bcd() { int a = 5; return &a; }
Oct 14, 2012 at 9:40am UTC
closed account (
3qX21hU5
)
Homework questions are for YOU to figure out ;)
Topic archived. No new replies allowed.