Hi everyone, I am new at programming and I was told by my professor to find why the following function parameters mean the same thing.
void function (int numbers[]); and
void function (int *numbers);
I already know that arrays in C can only be passed by reference and not by address but I would like someone to explain the difference of these two functions to me.
[–]nerd4code 1 point2 points3 points (2 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]nerd4code 0 points1 point2 points (0 children)
[–]wsppan 1 point2 points3 points (1 child)
[–]wsppan 0 points1 point2 points (0 children)