Object Oriented Programming Using C++ - Section 6 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
Published by:Michael Daani
Published by:Michael Daani
3. | When a break statement is used in a loop, the control skips the rest of the statements in the loop after it and jumps |
| |
| A. | to the last lines in the program |
| B. | to the next statement written after the body of the loop |
| C. | to the first statement in the body of the loop |
| D. | All. of the above |
|
|
Published by:Michael Daani
Published by:Michael Daani
5. | When two types are used in a function template and one is labeled T, the other |
| |
| A. | must also be named T |
| B. | must be named U |
| C. | can be any legal C++ identfier |
| D. | it is illegal to have two types |
|
|
Published by:Michael Daani
»