MCQs Master

A. Pressing Ctrl + C

B. Selecting Edit > Cut from the menu

C. Clicking on the standard cut button

D. Pressing Ctrl + X

E. None of these

August 15, 2023

(A) A void function’s header begins with the keyword void

(B) A value-returning function’s header begins with a data type, which represents the type of data the function will return
(C) Assuming displayAge is the name of a void function, displayAge(); is a both logically and syntactically valid C++ statement

(D) Assuming calcNewPrice is the name of a value-returning function, calcNewPriceO; is a both logically and syntactically valid C++ statement

(E) Both void and value-returning functions can receive arguments

August 15, 2023