Hello folks,
With Pelles C, the following function declaration gets a compiler error:
int swap(int &intA, int &intB);
However, an application with the same function in MS Visual Studio compiles and runs as expected.
I realize this can (and probably should) be done using pointers, but doesn't ANSI C allow function parameters to be declared as by-reference using something like this? int &intA
Thanks for any help!
Chris