You're not listening to the advice you're given.

Memcpy already told you that you don't do this:


scanf("%s", plate);

when "plate" is an array of strings. You're over-writing the...