About 9,040,000 results
Open links in new tab
  1. what is the difference between function declaration and signature?

    A function signature is the parts of the function declaration that the compiler uses to perform overload resolution. Since multiple functions might have the same name (ie., they're overloaded), the compiler …

  2. c++ - Function passed as template argument - Stack Overflow

    When the function is used in a template parameter it 'decays' into a pointer to the passed function. It's analagous to how arrays decay into pointers when passed as arguments to parameters. Of course, …

  3. Static variable inside of a function in C - Stack Overflow

    A static variable (whether inside a function or not) is initialized exactly once, before any function in that translation unit executes. After that, it retains its value until modified.

  4. How can I return two values from a function in Python?

    I would like to return two values from a function in two separate variables. What would you expect it to look like on the calling end? You can't write a = select_choice(); b = select_choice() because that …

  5. ERROR: function ... does not exist and HINT: No function matches the ...

    LINE 1: select f(1); ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. because there is no f() function that takes an integer as argument. So you …

  6. JavaScript error: "is not a function" - Stack Overflow

    It was attempted to call a value like a function, but the value is not actually a function. Some code expects you to provide a function, but that didn't happen.

  7. How to pass a function as a parameter in Java? [duplicate]

    More answers on how to use a Lambda function, or pass it as a parameter: simple example parameter as a function java.

  8. c - Function pointer as an argument - Stack Overflow

    Nov 24, 2009 · Is it possible to pass a function pointer as an argument to a function in C? If so, how would I declare and define a function which takes a function pointer as an argument?

  9. How do I define a function with optional arguments?

    0 A Python function can take in some arguments, take this for example, def add(x,y): return x+ y # calling this will require only x and y add(2,3) # 5 If we want to add as many arguments as we may …

  10. Proper way to wait for one function to finish before continuing?

    Feb 3, 2014 · I have two JS functions. One calls the other. Within the calling function, I'd like to call the other, wait for that function to finish, then continue on. So, for example/pseudo code: function