3 ms·
I'm absolutely not a pro in C, so if it is undefined behaviour I'd be glad to know and fix it, I just found out about the notation and it looks handy
by imadr 5y ago
I'm absolutely not a pro in C, so if it is undefined behaviour I'd be glad to know and fix it, I just found out about the notation and it looks handy
- dnautics 5y agochecked myself. My cursory, poor search suggests it's UB in C++, but not in C?
- steerablesafe 5y agoIt is definitely UB in C++ and probably implementation defined in C (and this use is fine all implementations, AFAIK). Some C++ implementations allow this as a conforming language extension.
- dnautics 5y agothanks for clarifying!