About 6,890,000 results
Open links in new tab
  1. Difference between the int * i and int** i - Stack Overflow

    Sep 25, 2010 · That second memory address, then, is expected to hold an int. Do note that, while you are declaring a pointer to an int, the actual int is not allocated. So it is valid to say int *i = …

  2. c++ - What does int & mean - Stack Overflow

    A C++ question, I know int* foo (void) foo will return a pointer to int type how about int &foo (void) what does it return? Thank a lot!

  3. c - type of int * (*) (int * , int * (*) ()) - Stack Overflow

    Nov 25, 2013 · It is a pointer to function that returns int* and accepts int* and pointer to function that returns int* (and accepts undefined number of parameters; see comments).

  4. Why does dividing two int not yield the right value when assigned …

    7 c is a double variable, but the value being assigned to it is an int value because it results from the division of two int s, which gives you "integer division" (dropping the remainder). So what …

  5. Whats the meaning of this C? int (*f)(int, int) - Stack Overflow

    Jul 1, 2021 · int (*f)(int, int) = dlsym( shared_lib, "foo" ); They're also handy for building table-driven code - I once wrote a utility to load and parse different types of data files from various …

  6. c# - Cannot implicitly convert type 'int?' to 'int'. - Stack Overflow

    This happens because your method signature declares you are returning an int, but you are in fact returning a nullable int, int?, variable. So to get the int part of your int?, you can use the .Value …

  7. 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.

  8. Can an int be null in Java? - Stack Overflow

    In Java, int is a primitive type and it is not considered an object. Only objects can have a null value. So the answer to your question is no, it can't be null. But it's not that simple, because …

  9. c# - Better way to cast object to int - Stack Overflow

    Apr 13, 2009 · This is probably trivial, but I can't think of a better way to do it. I have a COM object that returns a variant which becomes an object in C#. The only way I can get this into an int is …

  10. Difference between int vs Int32 in C# - Stack Overflow

    In C#, int and Int32 appear to be the same thing, but I've read a number of times that int is preferred over Int32 with no reason given. Are the two really the same? Is there a reason …