Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

The preprocessor directive always starts with the symbol
A:
%
B:
&
C:
#
D:
""
Answer: C
No answer description is available. Let's discuss.
Which of the following statements will display the word "Hello" on the computer screen?
A:
cin << "Hello";
B:
cin >> "Hello";
C:
cout << "Hello";
D:
cout >> "Hello";
Answer: C
No answer description is available. Let's discuss.
A compound statement does not consist of
A:
a single statement
B:
other compound statements
C:
expression statements
D:
control statements
Answer: A
No answer description is available. Let's discuss.
When a language has the capability to produce new data types, it is said to be
A:
reprehensible
B:
encapsulated
C:
overloaded
D:
extensible
Answer: D
No answer description is available. Let's discuss.
The operator that releases previously allocated memory is _____
A:
release
B:
return
C:
delete
D:
destroy
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz