Answer:Identify all the members of the following class xyz:
class xyz
{
int x,y;
public:
xyz();
void calc(int a, int b);
void output_calc(void);
};
Options
a) Data members x and y
b) Data members x and y, Constructor, and member functions calc() and output_calc()
c) Data members x and y, and member functions calc() and output_calc()
d) Constructor and member functions calc() and output_calc()
Answer : b) Data members x and y, Constructor, and member functions calc() and output_calc()