While assigning name (data member of class car), an error is coming up

I have done exactly the same as prateek sir did in video
but don’t know why error is coming

link to code : https://ide.codingblocks.com/s/239212

hello @vishaaltiwari1999
typecast string constant to char *.
ie
change this line image

to image

But why in video without writing (char*) it copies that string to the data member

it depends on compiler.