You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidby_value(constT*array) // const T array[] means the samevoidby_pointer(constT (*array)[U])
voidby_reference(constT (&array)[U])
@johnwickerson , I just would like to check, the last option, void by_reference(const T (&array)[U]) is only for C++ right? we don't have pass by reference in C?
For an array:
Why the above sizeof would give different result?
Because first one is dereference 3 time, and second one is dereference 2 time.
The text was updated successfully, but these errors were encountered: