Computer Science - Object Oriented Programming Using C++

1.
Which of the following are valid characters for a numeric literal constant?
a decimal point
the letter e
a minus sign
a plus sign
All of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

2.
Any #include files may contain
constants
variables
functions
All of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

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
to the last lines in the program
to the next statement written after the body of the loop
to the first statement in the body of the loop
All. of the above
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

4.
The function that takes arguments to set the bits of count is _____
setf()
bitsef()
ios()
flag()
Answer: Option
Explanation:
No answer description is available. Let's discuss.

5.
When two types are used in a function template and one is labeled T, the other
must also be named T
must be named U
can be any legal C++ identfier
it is illegal to have two types
Answer: Option
Explanation:
No answer description is available. Let's discuss.