Y
yashu21985
Why won't this code compile?
#include <iostream.h>
void Print(int i);
void Print(float f, int skip = 0);
void main()
{
Print(3.3);
}
void Print(int i)
{
cout << "Integer" << endl;
}
void Print(float f, int skip)
{
cout << "Float";
if (skip != 0)
cout << endl;
}
#include <iostream.h>
void Print(int i);
void Print(float f, int skip = 0);
void main()
{
Print(3.3);
}
void Print(int i)
{
cout << "Integer" << endl;
}
void Print(float f, int skip)
{
cout << "Float";
if (skip != 0)
cout << endl;
}