![]() ![]() Now there are five basic data types available in common. So, in common, we generally define the data type of the variable to use it and we cannot assign incompatible data type, otherwise the compiler will give us an error. So therefore, by finding different data types to variables, you could store integers, decimals, or characters as these variable. Based on the data type of a variable, the operating system allocates memory and then decide what can be stored in the reserved memory. The data type basically defines the values that a variable can take. ![]() So, in this lesson we're going to go over some data types.
0 Comments
Leave a Reply. |