2 ms·
Or C. It just turns into pointer math. Godbolt example here[1], just make sure the `int` is an offset within the bounds of the char* and it's well-defined. [1]
by SAI_Peregrinus 2y ago
Or C. It just turns into pointer math. Godbolt example here[1], just make sure the `int` is an offset within the bounds of the char* and it's well-defined.
[1] https://godbolt.org/z/YWKK1P7zj https://godbolt.org/z/YWKK1P7zj