Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Laat: 3 10 QUESTION 36 C functions O return values that are type integer do not

ID: 3734162 • Letter: L

Question

Laat: 3 10 QUESTION 36 C functions O return values that are type integer do not have to return a value O require at least one argument as input O must return a value. QUESTION 37 Which of the following statements about the C++ programming language is true? Declaration statements allow the user to return a value from a function. O Assignment statements do not require the user to identify the type of the variable. O Function prototypes identify the return type and arguments of a function. O Return statements send a message to an object, initiating a defined action. QUESTION 38 Are there any advantages to using functions in a C++ program? No, the overhead of calling and returning is quite large. o Yes, they permit the programmer to re-use code. O No, their use normally obscures the real purpose of a program. O Yes, they execute faster than using inline code. QUESTION 39 Click Save and Submit to save and submit. Click Save All Answers to save all answers. Take Test: Mid-Ter...

Explanation / Answer

QUESTION 36:

C functions do not have to return values is true. For eg. void display(node *head)//function to display linked list

All the other statements are false. The above example shows that all the other statements are false.

QUESTION 37:

The true statment is

Function prototypes identify the return type and arguments of the function.

for eg. void diplay(node *&head) //In this function prototype, the compiler identifies that the return value is void i.e the function will not return anything and the argument is a pointer of type node.

QUESTION 38:

The statements : "No, the overhead of calling and returning is quite large","no, their use normally obscures the real purpose of a program", "yes, they execute faster than inline code" are false. Hence, the suitable answer is "yes, they permit the programmer to re-use code".