+ 4
What is data-types ?
134 ответов
+ 87
data type is what kind of data you store:
string: a sequence of characters "abcde"
integer: a number 3,4,2
float:a not complete number 1.2,1.0,2.0,3.333334
more complex data types:
list: [1,2,3,4] - a series of data types,you can a list of integers or a list of strings etc...
stack,queue.....
+ 37
Datatype is a particular kind of data item, as defined by the values it can take, the programming language used, or the operations that can be performed on it. In computer science and computer programming, a data type or simply type is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data. Most programming languages support common data types of real, integer and boolean.
Data types are declarations for variables. This determines the type and size of data associated with variables. There few datatypes below:
Format:
Datatypes (size) (sign)
1. Int 2 bytes %d
2. Float 4 bytes %f
3. double 8 %lf
4. short int 2 usually %hd
5. unsigned int at least 2, usually 4 %u
6. long int at least 4, usually 8 %li
7. long long int at least 8 %lli
8. unsigned long int at least 4 %lu
9. unsigned long long int at least 8 %llu
10. signed char 1 %c
11. unsigned char 1 %c
12. long double at least 10, usually 12 or 16 %lf
+ 17
DATATYPE-datatype is used to define/declare a variable.It specifies the data storage format for the variable.
+ 9
Depends upon language.
Some random text is string, and integer is integer! Fractional values are float or double and true false belong to boolean.
+ 9
Generally there are three types of data types
1. Primitive Datatype(int,chat,float,double,void)
2. Derived Datatype(array, function, pointers)
3. User Defined Datatype(structure, union, enumeration)
+ 6
Data-type is simply which type of data you're going to assign to any variable.
Like when you assign any whole number to a variable it will be called an integer or int for short.
int number = 2;
That integer is called a data type of that variable you assigned.
Here are some common data types examples:
Integers like 0, 1, 2....
Floats like 0.12, 1.5, 3.141
Booleans like True/False
String like "Hello world"
+ 5
The type of the value in a variable is called that variables data type. Some Data Types are integer, float, array, string, list, boolean, char etc.
+ 4
Data type is a kind of identifier to be used in a program such as an integer, float, double, string and character
+ 4
Data Type
1. Int
2. Double
3. Char
3. String
God Jesus Bless.
+ 3
Data type is nothing but the type of data that u stored into a variable.
A data type may be in different types.
Such as:
Integer :1,2,3..
Float:1.2,2.4..
Complex: (a+ib)
Ex: 2+3i
Char: 'a','b'...
+ 3
Data types are
Int
Float
Char
String
+ 2
All C compilers support a variety of data types. This enables the programmer to select the appropriate data type as per the need of the application. Generally, data is represented using numbers or characters . The numbers may be integers or real. The basic data types are char, int, float, and double.
+ 2
mohit parekh the term data type refers to the types of values with which a program can work.
+ 2
Data types are keywords which tells compiler to store the various types data like int -integer ,char -character ,etc
+ 2
In computer science and computer programming, a data type or simply type is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data. ... A data type provides a set of values from which an expression (i.e. variable, function, etc.) may take its values.
+ 1
C offers two variations of the integer data type-short and long
+ 1
Basically in C or C++,
We use numbers of variable and variable are always known as storage where we can store values or any data which we further implement.
So the Data types :: data in the form of : int(integers),float(decimal values),char(character)etc
+ 1
in a simple language
data types is describe variable formet
+ 1
Int for integer, float for decimal ,double for multi no, chat for alphabet
+ 1
Data-type is the type of data that you declare