Talk:Strong and weak typing
Appearance
![]() | Computer science Unassessed | ||||||||||||||||
|
Predictability choices
In the Predictability section, different interpretations of "5" + 6 are discussed. No language is listed for:
- Yet another language might convert the string "5" to a pointer representing
- where the string is stored within memory, and add 6 to that value to produce
- a semi-random address.
Would C and C++ be examples of languages with that interpretation?
Espertus (talk) 19:37, 7 April 2014 (UTC)
- Never mind. I verified it in C and realized that C++ would use type conversion. Espertus (talk) 19:40, 7 April 2014 (UTC)