3 ms·
What's the right type then? There is no bool type in C90. It appears in C99. I've seen this in the wild, including the top answer on a StackOverflow question:
by robotresearcher 10y ago
What's the right type then? There is no bool type in C90. It appears in C99.
I've seen this in the wild, including the top answer on a StackOverflow question:
#define bool int
http://stackoverflow.com/questions/4159713/how-to-use-boolean-datatype-in-c http://stackoverflow.com/questions/4159713/how-to-use-boolea...
Besides, if you want correct code, don't ask a tool to guess it! This tool is for patching up fragments enough to get them through the compiler front end analysis.
- Buge 10y agoWell if you care about space efficiency, char is smaller than int.