That's it.
Question 2: What is the specific difference between single-precision real variables and double-precision real variables in C language? Every book about C will tell you directly, without thinking.
Question 3: What is the difference between integer variables and real variables in C language? Integer variables can only store integer data, and variable types that cannot be typed have different storage value ranges. The storage types of integer variables mainly include short integer, basic integer int, long integer and so on. Real variables can store a wide range of data, as the name implies, real numbers. Of course, integers are also real numbers and can also be stored. The storage types of real variables mainly include: single precision floating point, double precision floating point double and so on. Char is a character type that stores ASCII codes and can also be used to store integers from 0 to 255. These are long-term, others are available, but they are hardly used.
Question 4: What is real data in C language? Real data in C language refers to numbers with decimals.
For example: 1.23, 87.225, etc.
According to the precision, real data can be divided into single precision real data, double precision real data and long double precision real data.
Question 5: There are two types of real variables in C language, namely () and () floating-point and double real variables.
Real variables are divided into single precision and double precision, and their type descriptors are floating-point single precision descriptors and double precision descriptors. In Turbo C, the single-precision type occupies 4 bytes (32 bits) of memory space, and its numerical range is 3.4e-38 ~ 3.4e+38, and only 7 significant digits can be provided. Double-precision type occupies 8 bytes (64 bits) of memory space, and its numerical range is1.7e-308 ~1.7e+308, which can provide 16 significant digits.
The format and writing rules of real variable description are the same as those of integers.
For example: float x, y; (x, y are single-precision real numbers)
Double a, b, c; (A, B and C are double-precision real quantities)
Real constants, whether single precision or double precision, are regarded as double precision and double type.
void main(){
Floating a;
Double b;
a = 33333.33333
b = 33333.33333333333333
printf(%f\n%f\n,a,b);
}
Question 6: What is real data in C language? For example! Actually! C is the same as math! The so-called real type! Is the number of everything, including rational numbers and irrational numbers ... Integers such as1.222221.2451and including 1.23 1.23454 are also real numbers, although numbers like 1.2344 are integers! But they have real characteristics! It's like 1 is a natural number, but it's also an odd number and a positive integer ... as long as you think of something that conforms to this property! It belongs to everyone! So: 1. 1525 25 35 Even the time root number 2 is a real number! You should understand! ! ! Ha ha! ! ! I told you to study math! Now you know! !
Question 7: What is the difference between floating-point type and real-number type? The two are the same,
The real type is only decimal.
3.4x10-38e ~ 3.4x10+38e single precision
1.7x10-308e ~1.7x10+308e double precision
Question 8: In C language, there are two kinds of real variables, namely _ _ _ _ _ _ _ _ _ _ _. Floating type and double type
Question 9: What numbers can be referenced by real numbers, floating-point numbers and double-precision numbers in C language? What is the real type? Real data can be divided into real constants and real variables. Real numbers in computers are expressed in floating-point form. Real constants can be real numbers or floating-point numbers. Such as 3. 14 159, etc. Real variables are divided into single precision (float), double precision (double) and long double precision. Real type can be said to be real number.
Question10: What real variable does Double define? Double precision floating-point variable.
But it depends on what language you use.