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
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
But why in video without writing (char*) it copies that string to the data member
it depends on compiler.