A string in the programming language C is represented as a sequence of characters followed by a null terminator (represented as \0).
Is there any good reason to use C-strings in C++ nowadays? My textbook uses them in examples at some points, …
The following code is from K&R textbook, page number 71: val =10.0*val+s[i] -'0' What does s[…