A. | if the definitions are identical |
B. |
if the definitions are included in two separate #include files
|
C. |
if the definitions are located in a single #include file that is included more than once
|
D. |
C++ does not allow you to define the same functions more than once in the same program
|
Option: A Explanation : Click on Discuss to view users comments. |
A. | release |
B. | return |
C. | delete |
D. | destroy |
Option: D Explanation : Click on Discuss to view users comments. |
A. | prt = new SaleItem; |
B. | prt = new 50; |
C. | Either (a) or (b) |
D. | none of these |
Option: C Explanation : Click on Discuss to view users comments. |
A. | private |
B. | protected |
C. | public |
D. | polymorphic |
Option: D Explanation : Click on Discuss to view users comments. |
A. |
Ancestor will be included more than once in Descendant
|
B. |
Ancestor will be included only once in Descendant
|
C. |
Descendant will be included more than once in Ancestor
|
D. |
Descendant will be included only once in Ancestor.
|
Option: C Explanation : Click on Discuss to view users comments. |