1.

#include <iostream>using namespace std;class course{ int member; public : int* lfc() { return & member; }};main(){course s;int *ptr=s.lfc();return 0;} 13.In a class, encapsulating an object of another class is called

A. Encapsulation
B. Inheritance
C. Composition
D. None of the above
Answer» D. None of the above


Discussion

No Comment Found