Code:const char* EvenOrOdd( int value) { if(value&1) return"odd"; return "even"; }
Code:const char* EvenOrOdd( int value) { if(value&1) return"odd"; return "even"; }
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi