About 1,970,000 results
Open links in new tab
  1. Data Types in C - GeeksforGeeks

    Mar 25, 2025 · The integer datatype in C is used to store the integer numbers (any number including positive, negative and zero without decimal part). Octal values, hexadecimal values, …

  2. C Language: Integer Variables - TechOnTheNet

    Let's look at an example of how to declare an integer variable in the C language. For example: In this example, the variable named age would be defined as an int. Below is an example C …

  3. Integer Data Types in C Language - Dot Net Tutorials

    In C programming, integer data types are used to store whole numbers (both positive and negative). The range of values that can be stored in these data types depends on their size …

  4. C Data Types - W3Schools

    In this tutorial, we will focus on the most basic ones: Stores fractional numbers, containing one or more decimals. Sufficient for storing 6-7 decimal digits. Stores fractional numbers, containing …

  5. Data Types in C - Integer, Floating Point, and Void Explained

    Feb 1, 2020 · Integers are whole numbers. They can be positive, negative, or zero. Numbers like -321, 497, 19345, and -976812 are all perfectly valid integers, but 4.5 is not because 4.5 is not …

  6. Data Types in C Programming Explained With Examples

    Apr 8, 2025 · For example, if you declare a variable as an integer (int), it means that the variable can hold whole numbers. Integers are used when you need to store values without fractional …

  7. C int Keyword - W3Schools

    Most implementations will give the int type 32 (4 bytes) bits, but some only give it 16 bits (2 bytes). With 16 bits it can store positive and negative numbers with values between -32768 and …

  8. C Integer Types - Learn C Programming from Scratch

    C uses the int keyword to represent the integer type. The following declares a variable with the integer type: int age = 1; Code language: C++ (cpp) C uses a fixed number of bits (a sequence …

  9. Integer Variable in C Programming with Examples | Dremendo

    In this lesson, we will learn about the Integer Variable in C programming language. We will go through some examples of it and a quiz on it. In our earlier lesson we have learned about …

  10. Data Types in C Programming - A Beginner Guide with examples

    Counting: Integers are commonly used for counting discrete objects or events. For example, counting the number of students in a class, the number of days in a week, etc. Indexing: …

  11. Some results have been removed
Refresh