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
Pass by reference equivalent for C langu
Pass by reference equivalent for C language
Aug 24, 2012 at 11:52pm UTC
hitholdir
(27)
What is the pass by reference equivalent for C? I'm very new to C and in C++ I can change the value in main by a changing a value in a function it calls to, but how to do that same way in C?
Aug 24, 2012 at 11:54pm UTC
Athar
(4466)
You have to use a pointer.
Topic archived. No new replies allowed.