Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

The function that takes arguments to set the bits of count is _____
A:
setf()
B:
bitsef()
C:
ios()
D:
flag()
Answer: A
No answer description is available. Let's discuss.
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
Answer: B
No answer description is available. Let's discuss.
Any #include files may contain
A:
constants
B:
variables
C:
functions
D:
All of the above
Answer: D
No answer description is available. Let's discuss.
Assume that a variable will need to store only integers in the range of 1 through 20000. The most efficient data type for the variable is _____
A:
character
B:
float
C:
integer
D:
long integer
Answer: E
No answer description is available. Let's discuss.
You typically initialize Short Integer, Integer, and Long Integer variables to
A:
a space enclosed in double quotes
B:
a space enclosed in single quotes
C:
the letter O
D:
the number 0
Answer: D
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz