Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What is the data type of the result of 1+ 1.5?
What is the data type of the result of 1+ 1.5?
If it's c, it's double.

Isn't double a "real type"

1 plastic

The "2" character type will be automatically converted to plastic.

6/3 plastic surgery

1.5 real number type

The longest comprehensive operation is automatically converted into real type.

C language is a process-oriented abstract general programming language, which is widely used in the underlying development. C language can compile and process low-level memory in a simple way. C language is an efficient programming language, which only produces a small amount of machine language and can run without the support of any running environment. Although C language provides many low-level processing functions, it still maintains the cross-platform characteristics. C language programs written in standard specifications can be compiled on many computer platforms, including embedded processors and supercomputers.