i have a function call in a sub function like this
fraction3.reduceFraction();
the reduceFraction() should return a variable of type int.what should be the syntax,the prototype is as follows
int reduceFraction (void);
i have a function call in a sub function like this
fraction3.reduceFraction();
the reduceFraction() should return a variable of type int.what should be the syntax,the prototype is as follows
int reduceFraction (void);
int blah=fraction3.reducefraction();//stores return val in blah