C++ MQCs with Explanation (CHAPTER 4: FUNCTIONS IN C++)

Find the error in the following function prototype double area (int)

  1. Argument name is not specified
  2. Semicolon at the end is missing
  3. Return type and argument type must be same
  4. No error



Answer: 
Option a: Argument name is not specified

Explanation Here

Post a Comment

0 Comments