Error in my code. Please Help!

I have written the same code as Pratik Bhaiya explained the the video, but still it’s showing me error.

Can you please help in solving & explaining the error?

My Code -> https://ide.codingblocks.com/s/357479

hello @Shivam01 wait let me check your code :

hello @Shivam01 please see the corrected code here :


if you still have any doubt please ask here .
Happy Learning !!

What was the error in my code??

Explain my error in detail to me please

hey @Shivam01 there was silly mistake in line 65 and 71 .
the error was for deliminator you were the passing the space within the double quotes that was creating the problem in conversion .
this was happening because :
double quotes in C or C++ In C and C++ the single quote is used to identify the single character, and double quotes are used for string literals. A string literal “x” is a string, it is containing character ‘x’ and a null terminator ‘\0’. So “x” is two-character array in this case.
if you feel that your doubt is cleared please mark this doubt as resolved .
Happy Learning !!

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.