on-internet
← Community

How can I use dynamic parameter counts within a function call?

Stack Overflow ·

I am writing a function that calls another function, and in the called function the idea is that the number of parameters are dynamic. The function being called is capable of taking an arbitrary number of parameters For example: void functionCall(parameterlist) { otherFunction(parameter, parameter, parameterList[0], parameterList[1]); } How can this be accomplished?

Comments

Sign in or sign up to comment and upvote.

No comments yet.