3 ms·
The post didn't say "type conversion", just conversion, like the int with value 3 landing in memory after calling atoi("3").
by jjtheblunt 1y ago
The post didn't say "type conversion", just conversion, like the int with value 3 landing in memory after calling atoi("3").
- spacechild1 1y agoThe post gave the example of casting a float to an int. That is a (type) conversion. The point is that certain casts/type conversions can change the underlying data. > like the int with value 3 landing in memory after calling atoi("3"). That's something else entirely. People may colloquially call this "converting a string to an integer", but what we're realling doing here is parsing a string as an integer.