+ 2
This is the easiest method I know: enum x {zero, one}; char *xString[] = {"zero", "one"}; printf("%s %s\n", xString[zero], xString[one]);
1st Feb 2018, 1:39 AM
John Wells
John Wells - avatar