Hi Guys,
If we have a class as:
I wanted to know that can we initialize string using constructor?Code:class student
{
int roll_no;
string name;
char student_id;
public:
student(string=null,int=0,char=null);
};
Can we initialize string with a "null"?