Today we will talk about a string assignment operator. But before that, we will solve a problem. The problem is very easy. We have to copy/assign one string to another.
Suppose str1 & str2 are two strings. We have to copy/assign str2 to str1. We may try this as follows:
- OLDER POSTS
- page 1 of 2