Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 14 In a C++ function, where are the formal parameters (arguments) of the function declared? Question 14 options: a. b. c. in the runtime
Question 14 In a C++ function, where are the formal parameters (arguments) of the function declared? Question 14 options: a. b. c. in the runtime calling stack after return value first line inside the block of the function body outside of the function can be anywhere inside the block of the function body in the heading of the function between parenthesis d. e. Question 15 Can a C++ function access the parameter of another function? Question 15 options: a. Yes b. No Question 16 Select the statement that is NOT true about static and dynamic binding. Question 16 options: a. dynamic binding occurs at run time b. static binding occurs at compile time pass by reference is an example of dynamic binding d. pass by reference is an example of static binding c. Question 17 Which of following parameter declaration makes an integer pointer type parameter xp to be passed by reference? Question 17 options: a. b. int* _xp int& xp int* & xp c. d. &int* xp e. *int xp& Question 18 Assume aa is a dynamic array of double type, and has been allocated enough memory to hold 5 double type numbers. Which of following releases the memory used by dynamic array? Question a. release aa[]; b. delete aa[]; delete aa; d. delete [] aa; c
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started