4 ms·
For the sake of just-for-lulz purity, you could #define var auto instead, and then it wouldn't have any uses of int in the code at all.
by int_19h 5y ago
For the sake of just-for-lulz purity, you could #define var auto instead, and then it wouldn't have any uses of int in the code at all.
- jart 5y agoWow. I didn't notice that. A real C program without types, pointers, or macros. Who'd've thought such a thing would be possible!
- int_19h 5y agoIt kinda makes sense when you remember that implicit int is there in K&R C for compatibility with B (which only had one type, the machine word). B might be an interesting choice of language for an uber-minimalist compiler, by the way.