About 168,000 results
Open links in new tab
  1. c++ - What does int & mean - Stack Overflow

    It returns a reference to an int. References are similar to pointers but with some important distinctions. I'd recommend you read up on the differences between pointers, references, objects and primitive …

  2. Data Type Ranges | Microsoft Learn

    Jun 13, 2024 · The int and unsigned int types have a size of 4 bytes. However, portable code shouldn't depend on the size of int because the language standard allows this to be implementation-specific.

  3. C++ keyword: int - cppreference.com

    Sep 1, 2024 · Integral types: int. Modifiers: signed, unsigned, short, long. Boolean type: bool. Boolean literals: false, true. Character types: char, char8_t(since C++20), char16_t, char32_t(since C++11), …

  4. int keyword in C - GeeksforGeeks

    Jul 11, 2025 · In the C programming language, the keyword ‘int’ is used in a type declaration to give a variable an integer type. However, the fact that the type represents integers does not mean it can …

  5. C int Keyword - W3Schools

    The int keyword is a data type which stores whole numbers. 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 …

  6. What Does Int Mean in C, C++ and C#? - ThoughtCo

    Jan 7, 2019 · Int is a data type used for storing whole numbers in C, C++, and C# programming languages. Int variables can hold whole numbers both positive and negative but cannot store …

  7. Python int () (With Examples) - Programiz

    In this tutorial, you will learn about the Python int () function with the help of examples.The int () method returns an integer object from any number or string.

  8. Fundamental types - cppreference.com

    Feb 5, 2025 · The keyword int may be omitted if any of the modifiers listed below are used. If no length modifiers are present, it's guaranteed to have a width of at least 16 bits.

  9. Difference between int *a and int **a in C - GeeksforGeeks

    Oct 12, 2023 · In C, the declarations int *a and int **a represent two different concepts related to pointers. Pointers play a fundamental role in memory management and data manipulation in C …

  10. What does int() do in C++? - Stack Overflow

    Jun 16, 2013 · Even if you don't call the constructor explicitly, the default constructor, i.e. int() , is implicitly called to initialise the variable. Otherwise there will be a garbage value in the variable.