News
So we were going over how to pass arrays to functions in my C++ class the other day, and the teacher says "By default, C++ passes arrays by reference." I go "wtf, no it doesn't." After a few ...
If i have a function (void) X that takes an array of object in as a parameter and subsequently modifies said objects in the array, what will be the end result after the function terminates?<BR><BR ...
If the function needs to modify a dynamically allocated (i.e. heap-allocated) string buffer from the caller, you must pass in a pointer to a pointer. In C, function arguments are passed by value. This ...
You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return the number of combinations that make up that ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results