Oops ka 1st vala code hi galat ho rhhha h

sir, this code is written from pdf, but mujhe declaration hi samjh nhhi aa rhhhi sir, aur code mein bhii error show kr rhhha h

yehh valli declaration sir,
c.price=789;
c.model_no=1002;
c.name[0]=“B”;
c.name[1]=“M”;
c.name[2]=“W”;

sir isme c.name ko 3 baar kyu likha h ??? aur code mein bhii error aa rhhha hein

@manishayadav1360_c0939b9a17f994ff,
name is char array you r writing it index wise upto 3 index

send me full code for error checking

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.