Function Overloading (2)
// Function Prototypes
void OutputVariable(int value);
void OutputVariable(float value);
void main()
{
int i = 10;
float f = 1.3;
OutputVariable(i);
OutputVariable(f);
}
Previous slide
Next slide
Back to first slide
View graphic version