Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 42)
42.
Of the three ways to pass arguments to functions, only passing by _____ and passing by _____ allow the function to modify the argument in the calling program
Discussion:
3 comments Page 1 of 1.
Varun Girdhar said:
1 decade ago
Can you explain difference between reference and pointer I think both are same. Both pass address of where the value is store not the value.
Sindhuja said:
9 years ago
Both reference and pointer are different. Reference is just an alias to the given variable and it returns the value. Whereas pointer it just hold the address of the given variable.
Ans: C.
Ans: C.
Neha said:
9 years ago
@Sindhuja, Are you sure the answer is C?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers