I've been struggling with this for some time now. I searched the previous posts and I couldn't find an answer.
Consider the following.
NowCode:enum meat {beef, pork, chicken, salmon };
Will print 0. Is there anyway to use the value 0 to print "beef"?Code:printf("%d", beef);