IDE Showing error in variable declaration

char Pin= "5576" ;

Showing error in this statement invalid conversion form const char to char??
Can anybody help me with this?

Please post a complete program illustrating the error

What do you want to do with the Pin variable ?

UKHeliBob:
Please post a complete program illustrating the error

What do you want to do with the Pin variable ?

Actually i was declaring a character array Pin[4]="5576" ..a string as password of my door locking system project and i forgot to give space for null character so that's why IDE was showing error which i corrected later.
Thank you

vishal_3:
Actually i was declaring a character array Pin[4]="5576" ..a string as password of my door locking system project and i forgot to give space for null character so that's why IDE was showing error which i corrected later.
Thank you

It is better to leave out the array size specifier and let the compiler work it out for you