Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

The statement fwrite ( (char*)&objl, sizeof(objl) );
A:
writes the member functions of objl to fl
B:
writes the data in objl to fl
C:
writes the member functions and me data of obj 1 to fl
D:
writes the address of objl to fl
Answer: B
No answer description is available. Let's discuss.
Assume that a program creates and initializes a Short Integer variable named age and a pointer named agePtr, to which it assigns the address of the age variable. Which of the following statements will assign the number 21 to the age variable?
A:
age = 21;
B:
*age = 21;
C:
agePtr = 21;
D:
*agePtr = 21;
Answer: E
No answer description is available. Let's discuss.
Two or more arrays whose elements are related by their position (subscript) in the arrays are called _____ arrays
A:
horizontal
B:
paired
C:
parallel
D:
related
Answer: C
No answer description is available. Let's discuss.
Which of the following flowchart symbols represents the if selection structure?
A:
diamond
B:
hexagon
C:
oval
D:
parallelogram
Answer: A
No answer description is available. Let's discuss.
Values that are used to end loops are referred to as _____ values
A:
end
B:
finish
C:
sentinel
D:
stop
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz