3 ms·
Right, but all C courses I've done had UB in examples without mebtioning it. There teachers just didn't know what they are teaching.
by n_plus_1_acc 2y ago
Right, but all C courses I've done had UB in examples without mebtioning it. There teachers just didn't know what they are teaching.
- bobthepanda 2y agoUnless you are writing a compiler and code specifically tailored to take advantage of UB, there’s not much to say about it other than “be careful about UB cause it can make your program buggy from your POV.”