Guess the output?
void pointer parameter
Here PostInArrayNotFound is an overloaded function with parameter as follows
1. Void pointer
2. ArrayNotFound object(Since parameter of ArrayNotFound constructor is char pointer call to PostInArrayNotFound("DD") will inturn call an ArrayNotFound constructor when “void PostInArrayNotFound(const void *)” is not present in the program)
Here compiler has rights to call any one of the function. But since compiler can’t behave as it likes, standard said to follow the following rule.