Cstring,string and string.h

Can you explain me the differences between the above 3 header files and the functions that they have.

hi @jsn853 The C programming language does not really include a string data type. Instead, C programmers store strings in arrays of characters. string.h file is used to access a variety of functions for manipulating these arrays of characters, in C language. cstring serves the same purpose in C++.
The C++ language does have a “string” datatype and the functions related to that datatype are stored in string

Got it thanks for the clarification.

1 Like

@jsn853 please mark your doubt as resolved