OOP Basic :: Discussion


4.What is the additional feature in classes that was not in structures ?
A.Data members
B.Member functions
C.Static data allowed
D.Public access specifier
Answer:  Option  B
Explanation:

Member functions are allowed inside a class but were not present in structure concept. Data members, static data and public access specifiers were present in structures too.

Tutorial Link:
Published by:
Sai said:
   Member functions also present in structure in cpp


Quick Links

GAT Subject



   Computer Science    English    Agriculture    Botany    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC    PPSC    NTS