can there be two pointers pointing the same string? [closed]

Yes, 2 pointers can indeed point to the same number.

const char *a = "str";
const char *b = a;

They now point to the same string.

Leave a Comment