Which constructor among the following will be called if a call is made like className(5,’a’);?
A. className(int x=5,char c=’a’);
B. int className(int x, char c, char d);
C. className(int x, char c, int y);
D. char className(char c,int x);
Answer:A
Which constructor among the following will be called if a call is made like className(5,’a’);?
A. className(int x=5,char c=’a’); B. int className(int x, char c, char d); C. className(int x, char c, int y); D. char className(char c,int x);