Hello Friends,
Whenever a function is
declared to have an indeterminate number of arguments, in place of the last
argument you should place an ellipsis (which looks like '...'), so, int
a_function ( int x, ... ); would tell the compiler the function should accept
however many arguments that the programmer uses, as long as it is equal to at
least one, the one being the first, x.
ex:
va_list a_list;
int a_function ( int x, ... ) { va_list a_list; va_start( a_list, x ); }
In Interview these kinds of questions will be asked in written Technical Round.
All type of questions which will be asked in written Technical round based on this topic is uploaded.
If the Download link Appears to be broken or not Available please Comment Here or Type your mail ID.
I will Share The Link Again or Mail You.
Subscribe for Daily updates And Join The Fresher Station Facebook Group.
No comments:
Post a Comment