MCQOPTIONS
Saved Bookmarks
This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
200?$ |
| A. | 150 |
| B. | 100 |
| C. | 300 |
| Answer» B. 100 | |
| 2. |
What is the syntax of friend function? |
| A. | friend class1 Class2; |
| B. | friend class; |
| C. | friend class |
| D. | none of the mentioned |
| Answer» C. friend class | |
| 3. |
Which keyword is used to declare the friend function? |
| A. | firend |
| B. | friend |
| C. | classfriend |
| D. | myfriend |
| Answer» B. friend | |