Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

You declare a function with a function _____, which is typically entered at the beginning of the program, below the #include directives
A:
call
B:
prototype declaration
C:
definition
D:
pointer
Answer: B
No answer description is available. Let's discuss.
A file pointer always contains the address of the file
A:
True
B:
False
C:
D:
Answer: B
No answer description is available. Let's discuss.
Assume a program contains a void function named displayName, which requires no formal parameters. Which of the following is a correct function prototype for this function?
A:
displayName;
B:
displayName(void);
C:
void displayName;
D:
void displayName();
Answer: D
No answer description is available. Let's discuss.
Which (if any) of the following is NOT a programmer-defined type
A:
an array
B:
a structure
C:
a class
D:
All of the above are programmer-defined types
Answer: D
No answer description is available. Let's discuss.
A _____ is a single item of information about a person, place, or thing
A:
data file
B:
field
C:
program file
D:
record
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz