Skip to main content

Function Prototype

Ok Now Lets Learn About Function Prototype 

A Function Prototype  is a declaration of the function that tell the program about the type if the values returned by the function and the number and type if arguments 


Hmm.. Hard to get Let Under stand Functon Prototype By Example :-


(i) int   = return type 

(ii)Sum = Name if the function 

(iii) (int  n1, int n) ;  =  List of Arguments 

(iv) ;    =  Every function Prototype is followed by a Semicolon.