Please explain what is data types and how data types work? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Please explain what is data types and how data types work?

4th Jun 2020, 6:06 AM
Zuhayer Adit
Zuhayer Adit - avatar
1 ответ
0
Data type, as it's name suggests type of data like integer, float, character. They tells the compiler about nature or type of the data as working of operators changes with respect to data types. You need to declare data type during initialisation so that operations can be performed on them accordingly. However, in languages like Python it is not required to declare data type during initialization. Thanks
4th Jun 2020, 6:13 AM
Hardik Sharma
Hardik Sharma - avatar