#include int myfunc ( char type, double a, double b ) { double x; x = a*b; if ( type == '>' ) { return a; } else { return x; } printf("doesnt happen.\n"); } int main () { int i, x=3; i = myfunc( 'B', x+3.0, 2.0*4 ); printf("result: %i\n", i); return 0; }