Data Types in C++
Data Type:
Data type mean different types or form of data.
Example:
Integer, Float, Character, String etc are different data types. Their short form is used in programming to initialize any data member.
Data Type Representation in C++
Integer int
Float float
Character char
String string
Explanation:
In programming, we need to manage our program or code with the help of different variables. These variable are initialized by giving it a name and defining its data type. For example, If we want to initialize a variable and we want this variable to do some numerical work, we can initialize it with using int.
It would be like:
int my_variable;
Comments
Post a Comment
Feel free to comment or ask something related to games.