3 ms·
> However, (I hope) I'll get the exact same compiler warning as the more readable: The latter is a null terminated string, the former is not. Compiler warning
by nofriend 1y ago
> However, (I hope) I'll get the exact same compiler warning as the more readable:
The latter is a null terminated string, the former is not. Compiler warnings are principally a set of heuristics for bad code. Heuristically the first example is more likely to be intentional than the latter.