Podcast
Questions and Answers
What are the three major parts of a C++ function?
What are the three major parts of a C++ function?
- Function Definition, Function Prototype, Function Body
- Function Prototype, Function Call, Function Definition (correct)
- Function Prototype, Function Call, Function Body
- Function Call, Function Body, Function Definition
What is the purpose of a function prototype?
What is the purpose of a function prototype?
- To pass data into a function
- To define the operation of a function
- To call a function
- To declare a function before calling it (correct)
What is a parameter in a function?
What is a parameter in a function?
- A variable in a function definition (correct)
- A function that takes no arguments
- The actual value passed to a function
- A function that returns no value
What is an argument in a function?
What is an argument in a function?
What type of function takes no arguments and returns no value?
What type of function takes no arguments and returns no value?
What type of function takes arguments but returns no value?
What type of function takes arguments but returns no value?
What determines which type of function to use in a particular situation?
What determines which type of function to use in a particular situation?
What is the purpose of a function definition?
What is the purpose of a function definition?
What is a user-defined function?
What is a user-defined function?
How many categories of user-defined functions are there based on arguments and return values?
How many categories of user-defined functions are there based on arguments and return values?
Flashcards are hidden until you start studying