#include calc( void ) /* return type missing */ { /* this will give return type inconsistencises */ float cost; cost = 8.0 * 5.35; return cost; } int main( void ) { float res1; res1 = calc(); printf( "%f\n", res1 ); }