English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What is the information the prototype provides to the compiler? - Computer Science

Advertisements
Advertisements

Question

What is the information the prototype provides to the compiler?

Short Note

Solution

The prototype above provides the following information to the compiler:

  1. The return value of the function is of type long.
  2. Fact is the name of the function.
  3. The function is called with two arguments:
    • The first argument is of int data type.
    • The second argument is of double data type, int display(int, int) // function prototype//.

The above function prototype provides details about the return data type, the name of the function, and a list of formal parameters or arguments.

shaalaa.com
User-defined Functions
  Is there an error in this question or solution?
Chapter 11: Functions - Evaluation - Section - C [Page 205]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 11 Functions
Evaluation - Section - C | Q 5. | Page 205
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×