![]() |
|
|
+ Search |
![]()
|
Sep 22nd, 2005 13:33
Ankit Sharma, sudhir patnaik,
Suppose you have a function: int var_func(int n, ...) Function pointer for this can be declared as int (*var_arg_fn)(int, ... ); Now you can do the assignment as: var_arg_fn = var_func; use it as given below: var_arg_fn(2,3,4,5,7);