Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) nothing
B) the actual argument.
C) the value in the actual argument.
D) the address of the argument.
Correct Answer
verified
Multiple Choice
A) There cannot be a return statement.
B) The value of void should be returned.
C) The value of 0 should be returned.
D) Nothing is returned.
Correct Answer
verified
Short Answer
Correct Answer
verified
View Answer
Multiple Choice
A) determines how the function will complete its job.
B) tells what must be true before the function executes.
C) declares the function for the compiler.
D) tells what will be true after the function executes.
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) someFunction1,2.0,ch) ;
B) someFunctionmyInt,myFloat,ch) ;
C) someFunctionmyInt,2.0,'c') ;
D) someFunctionmyInt,myFloat,'1') ;
Correct Answer
verified
Short Answer
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) a function can call another function.
B) as long as the function is defined anywhere in your program,it can be used anywhere else.
C) a function definition can contain another function definition.
D) if you have function prototypes,the order in which you define your functions is important.
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) What is true after the function is executed
B) What the function does
C) How to call the function
D) What must be true before the function executes
Correct Answer
verified
Multiple Choice
A) void functions may not have a return statement.
B) void functions must return a value
C) nothing
D) can not mix reference and value parameters
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The value of x
B) nothing,it is a void function
C) the value of y
D) the variable x or its memory location)
Correct Answer
verified
Multiple Choice
A) void display) ;
B) void displayfloat myCost) ;
C) int display float myCost) ;
D) float display) ;
Correct Answer
verified
Multiple Choice
A) The cost for 15 items is 3.00,and the tax for 3.00 is 0.30;
B) The cost for 15 items is 0.00,and the tax for 3.00 is 0.00;
C) The cost for 15 items is 0.00,and the tax for 3.00 is 0.30;
D) The cost for 15 items is 3.00,and the tax for 3.00 is 0.00;
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) void displayOutputmyTotal) ;
B) displayOutputint mytotal) ;
C) displayOutputmyTotal) ;
D) cout << displayOutputmyTotal) ;
Correct Answer
verified
Showing 1 - 20 of 53
Related Exams