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 …

  2. ERROR: function ... does not exist and HINT: No function matches …

    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 …

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

  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() …

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

  6. How to return a result from a VBA function - Stack Overflow

    When called within VBA the function will return a range object, but when called from a worksheet it will return just the value, so set test = Range("A1") is exactly equivalent to test = …

  7. Passing an array as a function parameter in JavaScript

    May 18, 2010 · Reply Muhammad Omer Aslam Over a year ago @timhc22 , and when using the json object to pass as a parameter to a function dont forget the Parameter Destruction for …

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

  9. Define a function within another function in JavaScript

    I have a function whose structure is similar to the above. I want to abstract task 3 into a function, bar(), but I wish to limit the access of this function to only within the scope of foo(a).

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