What is the difference between a data type and a variable?

What will be an ideal response?

A data type is a category of storage containers for program data values. The data type defines the type of data that will be stored and used by the program, data such as whole numbers (int) or character data (char). A variable is an actual storage location in the computer memory where the data is stored.

Computer Science & Information Technology

You might also like to view...

You set ________ to ensure that users do not modify the styles in the document

A) IRM B) formatting restrictions C) user exceptions D) editing restrictions

Computer Science & Information Technology

__________ implements a security policy that specifies who or what may have access to each specific system resource and the type of access that is permitted in each instance.

A. Audit control B. Resource control C. System control D. Access control

Computer Science & Information Technology