When I want to pass multiple arguments to a function, and do the same thing to all of these arguments, is there an easy way to do this?
The idea is that the function vul fills, every array with numbers from 0-3.Code:void vul(ruiten[4], harten[4], klaver[4], schoppen[4]) { int a; for (a = 0; a < 4; a++) { array[a] = a; } return;
It won't work this way, but is there a way? Or am I being completely confused right now?
Thank You.