Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Utilisateur supprimé
Date de publication: 2018/03/22

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

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?