True/False
It is valid to initialize member variables in a class on the same line in which the variable is declared.For example,the following sets xx to 1000:
class A
{
public:
A(){}
private:
int xx = 1000;
};
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Describe in terms of who needs access
Q3: A constructor is always named construct with
Q5: Assignment behaves essentially the same for vectors
Q6: Why is it an error to add
Q7: A class member that is to be
Q8: A class may not have another class
Q9: Which of the following are legal access
Q10: Explain why data members,in particular should be
Q11: A constructor is like a function.It can
Q14: If v is a vector and i