answersLogoWhite

0

This all depends on the value you want to hold. A byte, short, int and long all store integers with increasing upper limits, respectively. Floats and doubles hold numbers with mantissas, decimal places. Booleans hold true or false values. Characters hold a character (alpha-numeric values). Strings (not primitive data types but treated as such) hold a list of characters.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering
Related Questions

Data type can store a variable amount of text or combination of text and numbers?

memo


What is a data type that can store variable amount of text or combination of text and numbers?

Memo


In access 2007 what is the data type you can store a variable amount of text or combination of text and numbers?

Memo


What defines a data type?

the type of data which we store in a variable.. example: int a=10; /*here a is variable (data) which is of type int and stores a value 10.*/


What type of data type can store a variable amount of text or combination of text and numbers where the total number of characters may exceed 255?

memo


Which data type can store any data?

There is no such data type. However, when we use user-defined data types of our own type, then that type of data can be stored in a variable. So as a term, you may say that user-defined data type can store any data. As the data-type used in any variable will be depending upon us.


How much data can a global variable contain?

This question is meaningless. 'Variable' is not a type, and scope does not determine how much 'data' something can store.


How many values can store a variable at a time?

The number of values a variable can store at a time depends on the data type of the variable. For example, a variable of type int (integer) in many programming languages can store a single integer value at a time. Similarly, a variable of type float (floating-point number) can store a single floating-point value. Other data types like arrays or lists can store multiple values at a time. The capacity of a variable to store values is determined by its data type and memory allocation.


A n BLANK data type can store a variable amount of text or combination o text and numbers where the total number of characters may exceed 255 a Unlimited b Variable c Memo d Character?

memo


How do you store a character in a variable?

In Java a primitive data type called 'Char' is used to store a single character of text.Char myChar = "a";


What is the use of variables in c language?

Variable is of any Data Type and Data Type can be defined as a type of value that a Variable will hold.............means which type of value you want to store, eg: fractional value (3.5454), whole value (3,76,3,67), character value (a,v,c,f,b,z) etc.......... So The Use the Variable is to store a value of any kind (some mentioned above)


Is class a pointer?

No. In computer programming, a class is a data type while a pointer is a variable that can store a memory address.