Object Oriented Programming

1:

The following program segment
const int m = 10 ;
int &n = m ;
n = l1 ;
cout << m << n;      

A.

results in compile time error

B.

results in run time error

C.

prints 1111

D.

prints 1 0 11

 

Answer : A

Explanation :

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.