Which header file to use

cstring vs. string

  1. which header to use and which one’s recommended ?
  2. what’s thew difference in above two ?

Hello @prerak_semwal
gives you these capabilities:
http://en.cppreference.com/w/cpp/header/string

gives you these:
http://en.cppreference.com/w/cpp/header/cstring

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.