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);