Why programs need data types
Why programs need data types
Programs store values in variables, but they also need to know what kind of value each variable holds. A data type tells the program what the value is and what operations make sense for it.
Why programs need data types
Why programs need data types
Programs store values in variables, but they also need to know what kind of value each variable holds. A data type tells the program what the value is and what operations make sense for it.