/* ==================================================================== Operation of the C compiler: integer typed parameters are passed as "int" float typed parameters are passed as "double" return type is int by default ==================================================================== */ #include int main(int argc, char *argv[]) { char a = 3; short b = 4; int c = 0; c = squareSum( a, b ); // Will convert a, b to int and pass them printf("%d\n", c); } int squareSum( int x, int y ) { return ( x*x + y*y ); }