/* ==================================================================== Working fact: integer typed parameters are passed as "int" by default float typed parameters are passed as "double" by default ==================================================================== */ #include int main(int argc, char *argv[]) { double a = 3; short b = 4; int c = 0; c = squareSum( a, b ); printf("%d\n", c); } int squareSum( double x, int y ) { return ( x*x + y*y ); }