Function Bodies
Function Bodies
A function body consists of two parts:
Declaration of Local Variables
Executable code
Example:
int F2(int a, int b)
{
int c;
c = a*a;
c += b;
return c;
}
Previous slide
Next slide
Back to the first slide
View Graphic Version