Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - The usage of int in c language
The usage of int in c language
Usage is as follows.

When 1 and int are used to declare integer variables, they will start with int, followed by the variable name and end with a semicolon. 2.c language will be used to initialize variables, that is, to assign initial values to variables. When you declare a variable, you will write an equal sign after the variable name, and then enter the value to be assigned to the variable. 3. In C language, the size of integer constant exceeds the value range of int, and the compiler will regard this integer constant as a longint type.

C language is a computer programming language, which has the characteristics of both high-level language and assembly language. It can be used as a working system design language to write system applications, and it can also be used as an application programming language to write applications that do not depend on computer hardware.