what good are function prototypes for? in the book that in reading they have an example where the code below appears on line 3
on line 27 the function appears asCode:
int Area(int Length, int Width); //function prototype
so the protoype is not the same, so whats the purpose of having it there if it doesnt do anything?Code:int Area(int L, int W)
{
return L * W;
}
im new so silly questions r a must! :)