Write the names of all Standard Data Types.
Answers
Answer:
Standard data type - DBMS-specific physical data type - Content - Length
Integer - int / INTEGER - 32-bit integer - —
Short Integer - smallint / SMALLINT - 16-bit integer - —
Long Integer - int / INTEGER - 32-bit integer - —
Byte - tinyint / SMALLINT - 256 values - —
Number - numeric / NUMBER - Numbers with a fixed decimal point - Fixed
Decimal - decimal / NUMBER - Numbers with a fixed decimal point - Fixed
Float - float / FLOAT - 32-bit floating point numbers - Fixed
Short Float - real / FLOAT - Less than 32-bit point decimal number - —
Long Float - double precision / BINARY DOUBLE -64-bit floating point numbers - —
Money - money / NUMBER - Numbers with a fixed decimal point -Fixed
Serial - numeric / NUMBER - Automatically incremented numbers - Fixed
Boolean - bit / SMALLINT - Two opposing values (true/false; yes/no; 1/0) - —
The Standard Data Types in C programming language is as follows:
- Char
It is one of the most basic data types in C that stores a single character and takes a single byte of memory in almost all compilers.
- Int
This is also one of the basic data types and is used to store an integer.
- Float
This data type is used to store decimal numbers that can be defined as numbers with floating-point value with single precision.
- Double
This data type is used to store decimal numbers with double precision.