Strings in C++

2b. Assignment of an array of characters or a char-star pointer. following this declaration: string s; s=t; // where t is a char* or an array of chars. or s=β€œval”; The characters of t are copied into s, up to but not including the first NUL β€˜\0’. If t is not properly NUL-terminated, a memory access violation may result. ................
................