Computer Science - Object Oriented Programming Using C++

21.
Which of the following control structures is used in every program?
repetition
selection
sequence
switching
Answer: Option
Explanation:
No answer description is available. Let's discuss.

22.
In the C language, a string is assigned to the
char type of variable
string type of variable
conversion specification %s
All of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

23.
Which of the following statements declares a one-dimensional Character array named item that consists of five elements?
char item[0 to 4] = "";
char item[0 to 5] = "";
char item[4] = "";
char item[5] = "";
string item[5] = ' ';
Answer: Option
Explanation:
No answer description is available. Let's discuss.

24.
A derived class may also be called a
subclass
super class
parent class
derived class
Answer: Option
Explanation:
No answer description is available. Let's discuss.

25.
The main() function is always
a called function
a calling function
recursive function
used at the end of the program
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.