Hello guys,
i want to pass infinite number of arguments to a function and print all of them how can i do it in c.
example:
main(void)
{
foo(1,2,3,"welcome","hi","how are you");
return 0;
}
i do know that foo() empty brace would accept infinite number of arguments but how to extract them one by one and use them