For each variable you have to attach some data type.The data type defines:the amount of storage allocated to variables.the values that they can accept.the operations that can be performed on variables.