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. Something else has to tell you (for instance for printf, it's implied by the number of % format descriptors in the format string)