Character functions allow you to manipulate data in the form of characters. Character functions are sometimes referred to as string functions, just as character datatypes are sometimes referred to as string datatypes. LEFT, RIGHT, SUBSTRING, LTRIM, RTRIM, UPPER, and LOWER are seven instances of character functions.
The char keyword is used to declare a char variable in C++. This should be followed by the variable's name. At the moment of declaration, the variable can be initialized. Single quotes should be used to encapsulate the variable's value.
The main distinction is that (char *) is an iterator, whereas std::string is a container. If you just use basic strings, a (char *) will perform the same thing as std::string::iterator.
Learner's Ratings
4.3
Overall Rating
67%
17%
6%
6%
4%
Reviews
P
Prabhat Yadav
5
Superb and amazing 😍🤩 enjoyable experience.
A
arjama dutta
4
The course was very informative. and helpful. A few more exercises and less grammatical error on the notes could have made the course even better..
D
Deep Kumar Biswas
5
I love so much. I am grateful for making such an amazing site for all the common people. It has been very helpful to me. I can learn a lot from it. Thank you so much for creating such a site.Thank you
Share a personalized message with your friends.