Which among the following function can be called without arguments?
A. void add(int x, int y=0)
B. void add(int=0)
C. void add(int x=0, int y=0)
D. void add(char c)
Answer: c
Explanation: For the function to be called without arguments, either it must have zero arguments or it must have all the default arguments. Here the function in option void add(int x=0, int y=0) have all the default arguments and hence can be called directly with zero argument.