1.

What are the information the prototype provides to the compiler?

Answer»

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, name of the function and a list of formal parameters or arguments.



Discussion

No Comment Found