The code below compiles and runs, BUT according to all iPhone development books and Apple documentation it shouldnt! Can someone please explain to me how come immutable NSS
TEST and TEST2 are two different strings pointed to by the *test pointer.
You are not changing the contents of the explicitly allocated NSString object from the first line of code but pointing *test to another object.