OOPS 4 - Constructor and Parameterised Constructor

strcpy() inside the constructor function is working in online ide but not in vscode how to fix??

and also tell this error

no instance of constructor “car::car” matches the argument list – argument types are: (int, int, const char [5])

ques:- https://online.codingblocks.com/app/player/189104/content/193873/499/lecture

cde:-https://ide.codingblocks.com/s/481012

hello @dasvishal60

if it s working on online ides and probably ur vs code is not updated. check on internet for this issue.

check 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.