Conversation

Does anybody think if (false) foo = pointer - NULL; triggers UB in C, because pointer and NULL don't point into the same array object? My read of 6.5.6 9) in C17 doesn't support that it is UB. Debating that in the context of a - IMO spurious - clang warning.
3
1