I think you meant: "22"+2 = "", and it is not UB to make the second pointer, only to use it
The pointer arithmetic works both ways, same as square brackets.