1. How I realized: KString str("abc");
KString(char* str)
{
m_str= new char(10);
*m_str= *str;
}
Question:
1. To realize KString b="a"; what function will be called?
1. How I realized: KString str("abc");
KString(char* str)
{
m_str= new char(10);
*m_str= *str;
}
Question:
1. To realize KString b="a"; what function will be called?