What does int mean in c language

Release: 2020-05-07 11:56:46
Original
35775 people have browsed it

What does int mean in c language

In the C/C programming language, int represents an integer variable, which is a data type used to define an integer variable. It has different sizes in different compilation environments and different compilations. The operating environments vary in size.

Integer variables include the following types:

1. Signed basic integer type, keyword: [signed] int, value range: -2 147 483 648 ~ 2 147 483 647 , Bytes: 4

2, Unsigned basic integer type, Keyword: unsigned [int], Value range: 0 ~ 4 294 967 295, Bytes: 4

3, Yes Signed short integer, keyword: [signed] short [int], value range: -32768 ~ 32767, bytes: 2

4, unsigned short integer, keyword: unsigned long [int] , Value range: 0 ~ 65535, Bytes: 2

5, Signed long integer, Keyword: [signed] long [int], Value range: -2 147 483 648 ~ 2 147 483 647 , Bytes: 4

6, Unsigned long integer, Keyword: unsigned long [int], Value range: 0 ~ 4 294 967 295, Bytes: 4

Recommended: "c Language Tutorial"

The above is the detailed content of What does int mean in c language. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!