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 pure virtual function? Or what is abstract class?
Explain the difference between struct and class in terms of access modifier.
How can we read/write Structures from/to data files?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
What is abstraction in c++ with example?
What is nested class in c++?
Where must the declaration of a friend function appear?
What is input operator in c++?
Difference between Abstraction and encapsulation in C++?
Should the this pointer can be used in the constructor?
What is #include cmath?
What is an undefined behavior and sequence points
the first character in the variable name must be an a) special symbol b) number c) alphabet
How would you call C functions from C++ and vice versa?
What is the difference between struct and class?