Question: In this function header line, what is missing? voidPrintNumber (int) A. Nothing is missing, it is complete. B. The variable name must be included in

 In this function header line, what is missing? voidPrintNumber (int) A.

In this function header line, what is missing? voidPrintNumber (int) A. Nothing is missing, it is complete. B. The variable name must be included in the input list. C. A semi-colon D. A return type. Which statement is true concerning local variables? A. Local variables are only integers. B. Local variables can be seen by all functions in a program. C. Local variables are in scope while the program is executing. D. Local variables are in scope while the declaring function is executing. Which statement is true concerning global variables? A. Global variables are only integers. B. Global variables can be seen by only one function in a program file. C. Global variables are in scope while the program is executing. D. Global variables are in scope while the declaring function is executing. Which function name is invalid? A. Function-to-Calc-Price B. Function to CalcPrice C. Function_To_Calc?? D. They are all invalid Which function name is valid? A. PrintPrice4Me B. Print?? C. 4PrintingPrice D. They are all valid What is true about a function call statement? A. Every function must be called at least once. B. A function may be called whenever it is needed. C. A function may be called only one time in a program. D. A function may not be called from separate functions. What is wrong with this code? int Money4Me(int dollars) {int pennies, coins; coins = dollars * 100;} A. The function name is invalid. B. There is no return type. C. You can't have math statements inside a function. D. Nothing is wrong with it. What is wrong with this code? voidPrinttoScreen(int dollars, int cents) {cout > dollars, cents; return (dollars, cents);} A. You can't have a comma in the cin statement. B. You can't have a comma in the return statement. C. Both A & B. D. There is nothing wrong with it. What is wrong with this code? floatCalcCost(int unit) {

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!