In pure C how can I pass a variable number of parameters into a function?

Posted by fmsf on Stack Overflow See other posts from Stack Overflow or by fmsf
Published on 2010-06-12T16:10:50Z Indexed on 2010/06/12 16:53 UTC
Read the original article Hit count: 186

Filed under:
|

Hey,

How can i pass (and access) using C, not c++, variable parameters into a function?

void foo(char* mandatory_param, char* optional_param, char* optional_param2...)

thanks

/fmsf

© Stack Overflow or respective owner

Related posts about c

    Related posts about function