How to count the no of arguments passed to the function in following program:
#include #include void varfun(int i, ...); int m
You can't. You have to manage for the caller to indicate the number of arguments somehow. You can: