MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Company QA knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
WHICH_ARE_DONE_BY_COMPILER_FOR_TEMPLATES??$ |
| A. | type-safe |
| B. | portability |
| C. | code elimination |
| D. | all of the mentioned |
| Answer» E. | |
| 2. |
How many types of templates are there in c++? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» B. 2 | |
| 3. |
23 |
| A. | |
| B. | 24 |
| Answer» B. 24 | |
| 4. |
416AA |
| A. | 164AA |
| B. | AA416 |
| C. | none of the mentioned |
| Answer» B. AA416 | |
| 5. |
How to declare a template? |
| A. | tem |
| B. | temp |
| C. | template<> |
| D. | none of the mentioned |
| Answer» C. template<> | |
| 6. |
Pick out the correct statement about string template. |
| A. | It is used to replace a string |
| B. | It is used to replace a string with another string at runtime |
| C. | It is used to delete a string |
| D. | None of the mentioned |
| Answer» B. It is used to replace a string with another string at runtime | |