Register now or log in to join your professional community.
Consider the following C++ code: char *myString = NULL; myString = "some string"; This does not generate an error or warning although "some string" is const. Now if I do: int i =0x; myString[0] = i &0xff; C++ doesn't seem to have a problem with that!
i thinck C++ is typed very safly but still not safe.