C-string is a char array terminated with a null byte(‘\0’), which is the original string that was used since C and early C++.C/C++ standard library provides useful C-string functions.The header you need to include to use C-string functions is <cstring>.In this post, I am going to explain some popular C-string functions with example codes. Before diving into the examples, it is worthwhile to note that C-string is entirely different from the C++ String class which means you cannot use C string standard library functions with C++ String class. size_t strlen(const char *str) Returns the length of the provided char array READ MORE