About 4,420,000 results
Open links in new tab
  1. The real difference between "int" and "unsigned int"

    Jan 28, 2012 · The real reason that this can happen is that C is a weakly typed language. But unsigned int and int are really different.

  2. Difference between int* and int [] in C++ - Stack Overflow

    Aug 24, 2016 · The question "what is the difference between int* and int []?" is a less trivial question than most people will think of: it depends on where it is used. In a declaration, like …

  3. int* i; or int *i; or int * i; - i; - Software Engineering Stack Exchange

    64 I prefer int* i because i has the type "pointer to an int", and I feel this makes it uniform with the type system. Of course, the well-known behavior comes in, when trying to define multiple …

  4. What is the difference between Integer and int in Java?

    An int variable holds a 32 bit signed integer value. An Integer (with capital I) holds a reference to an object of (class) type Integer, or to null. Java automatically casts between the two; from …

  5. Difference between "int" and "int (2)" data types - Stack Overflow

    Dec 29, 2022 · For INT and other numeric types that attribute only specifies the display width. See Numeric Type Attributes in the MySQL documentation: MySQL supports an extension for …

  6. What is the difference between signed and unsigned int

    Apr 21, 2011 · 29 int and unsigned int are two distinct integer types. (int can also be referred to as signed int, or just signed; unsigned int can also be referred to as unsigned.) As the names …

  7. Python: is 'int' a type or a function? - Stack Overflow

    0 It's both. In Python, the types have associated functions of the same name, that coerce their argument into objects of the named type, if it can be done. So, the type int <type 'int'> has a …

  8. C/C++ int [] vs int* (pointers vs. array notation). What is the ...

    I know that arrays in C are just pointers to sequentially stored data. But what differences imply the difference in notation [] and *. I mean in ALL possible usage context. For example: char c[] =...

  9. How can I convert a string to an int in Python? - Stack Overflow

    def convertStr(s): """Convert string to either int or float.""" try: ret = int(s) except ValueError: #Try float. ret = float(s) return ret That way if the int conversion doesn't work, you'll get a float …

  10. What is the difference between "short int" and "int" in C?

    Sep 5, 2012 · How is short int (or short) and int different in C? They have the same size and range. If they are essentially the same, what is the use of having two data types?