+ 1

Why do we use data types in programming?

Data types

28th Mar 2021, 11:04 PM
Ronan Esguerra
Ronan Esguerra - avatar
2 Answers
+ 8
i = 10; Variable "i" dosent know how much memory it should allocate to store 10... That's why we need to specify what datatype the variable will store. So variable "i" needs to be of datatype integer to allocate the correct amount of memory to store a number.
28th Mar 2021, 11:19 PM
D_Stark
D_Stark - avatar
0
Why we use names for different types of species ??
29th Mar 2021, 7:30 AM
🌀 Shail Murtaza ŰŽŰčیل Ù…Ű±ŰȘŰ¶ÛŒÙ°
🌀 Shail Murtaza ŰŽŰčیل Ù…Ű±ŰȘŰ¶ÛŒÙ° - avatar