How S2 contain null character as value of S2=“hello” there is no null character in it (time : 10mins).
Character Arrays
string contains ‘\0’ at the end.
How S2 contain null character as value of S2=“hello” there is no null character in it (time : 10mins).
string contains ‘\0’ at the end.