Code is giving error

@anonymous_pk7
hello pritam,
make following changes
image

basically it converts c++ string to c string
also refer this article -> https://www.techiedelight.com/convert-string-char-array-cpp/