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
Is there a c++ certification?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
Can we change the basic meaning of an operator in c++?
What is a singleton class c++?
Is c++ fully object oriented?
Difference between strdup and strcpy?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
To which numbering system can the binary number 1101100100111100 be easily converted to?
What is the difference between containment and delegation?
What is object in c++ wikipedia?
What is singleton class in c++?
Explain data encapsulation?
What is a literal in c++?
What is unary operator? List out the different operators involved in the unary operator.
What are move semantics?