Why string didn't changing into char arr?

bhaiya , in lecture Prateek bhaiya writing string “BMW” and it is changing into char arr as bhaiya saying we can ignore it. but when I am running program , string is not changing into array…what should I do ?

Please send your code in a CB ide.

sir, here is my code >>>https://ide.codingblocks.com/s/576608

it is working fine in CD ide. but actually i am working on VS code. due to network issue. i don’t have much data for online ide. so, there is is showing string can’t change into char array. doubt is resolved. sorry for inconvenience.

Oh okay cool. You can refer to this link as well: https://www.geeksforgeeks.org/convert-string-char-array-cpp/

Please mark your doubt as resolved now.

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.