And, you defined "user"/profile as what?
Post the structure declaration.
The user.phone is of what type?
This line implies it is a single character.
scanf("%c",&user.phone);
Type: Posts; User: stahta01
And, you defined "user"/profile as what?
Post the structure declaration.
The user.phone is of what type?
This line implies it is a single character.
scanf("%c",&user.phone);