Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

When a programming language is said to be strongly-typed, Does this imply it's therefore type-safe?

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!

user-image
Question added by Deleted user
Date Posted: 2018/03/22
Deleted user
by Deleted user

i thinck C++ is typed very safly but still not safe.

More Questions Like This