First page Back Continue Last page Graphics
Type (cont.)
And we even are familiar with overloaded operators for different types.
int x,y;
x = x + y;
- + means “integer addition”
double z,w;
z = z + w;
- + means “floating point addition”
Two different functions with the same name '+' !