Explain "passing by value", "passing by pointer" and
"passing by reference" ?
Answer Posted / sanish joseph
In Pass by value,copy of the value is passed, but in pass by
reference the address of the variables are passed as a
reference.pointer are variables storing the address of
another variable so it can be used as a pass by referece,
den it s teamed "passing by pointer".
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What is doubly linked list in c++?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
What is microsoft c++ redistributable 2013?
How do I make turbo c++ full screen?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What kind of jobs can I get with c++?
Will the following program execute?
When should overload new operator on a global basis or a class basis?
What are the benefits of pointers?
How many types of modularization are there in c++?
Who was the creator of c++?
What is friend class in c++ with example?
Explain the difference between class and struct in c++?
What can I safely assume about the initial values of variables which are not explicitly initialized?
What is lazy initialization in c++?