We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi folk, I have
u16 wTemp = 0; fsingle fTemp = 17.5123; wTemp = (u16)fTemp;
Of course this would have worked just as well I suppose:
int cash = 1; char dollarStr[][sizeof "dollars"] = { "dollars", "dollar" }; printf("You have %d %s\n", cash, dollarStr[cash == 1]);