Answer:Consider the following code segment:
class simple
{
int a,b;
public:
simple();
simple(char[]);
};
Which of the following would assigns the string “welcome” to the second constructor?
a) simple s(“welcome”);
b) simple s(welcome);
c) simple s=”welcome”;
d) None of the above
Answer : a) simple s(“welcome”);