Object Oriented Programming

1:

Which of the following parameter passing mechanism(s) is/are supported by C++, but not by C?   

A.

Pass by value

B.

Pass by reference

C.

Pass by value-result

D.

All of the above

 

Answer : B

Explanation :

As such C does not support pass by reference. But it can be simulated by using pointers.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.