Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

Variables declared outside a block are called _____
A:
global
B:
universal
C:
stellar
D:
external
Answer: A
No answer description is available. Let's discuss.
The first element in a string is
A:
the name of the string
B:
the first character in the string
C:
the length of the string
D:
the name of the array holding the string
Answer: B
No answer description is available. Let's discuss.
When you omit parameters from a function call, values can be provided by
A:
formal parameters
B:
reference parameters
C:
overloaded parameters
D:
default parameters
Answer: D
No answer description is available. Let's discuss.
Using the wardrobe structure within the ShopList structure is an example of a good programming principle, known as _____
A:
reusability
B:
polymorphism
C:
redundancy
D:
recursion
Answer: A
No answer description is available. Let's discuss.
The _____ mode tells C++ to open a file for input
A:
add::ios
B:
in::file
C:
ios::app
D:
ios::in
Answer: D
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz