3 ms·
I think the definition of "valid" may differ. Is this a standard conforming C program? No. Did you use implementation details of your platform to create a progr
by asveikau 3mo ago
I think the definition of "valid" may differ. Is this a standard conforming C program? No. Did you use implementation details of your platform to create a program that loads and runs correctly? Sure.
Most interesting C programs violate the standard in some way though.
- elpocko 3mo ago[flagged]
- pechay 3mo agoAll C programs are interesting. The first potentially non-interesting program in C is interesting because it's the first non-interesting one. :)
- asveikau 3mo agoI guess what I'm saying is that some common practices are under specified and live in gray areas of the standard, and practicing programmers rely on those behaviors. Sometimes other standards like POSIX cover the gaps.