wise guy
US /ˈwaɪz ˌɡaɪ/
UK /ˈwaɪz ˌɡaɪ/

1.
a person who is irritating because they think they know everything and try to be clever
:
•
Don't be such a wise guy, just answer the question.
•
He always has a sarcastic comment, a real wise guy.
a person who is irritating because they think they know everything and try to be clever