smart-ass
US /ˈsmɑːrt.æs/
UK /ˈsmɑːrt.æs/

1.
a person who is irritating because they think they know everything and are quick to make clever, sarcastic remarks
:
•
Don't be such a smart-ass, just answer the question directly.
•
He always has a smart-ass comment for everything.
1.
behaving in an irritatingly superior and sarcastic way
:
•
His smart-ass remarks always get him into trouble.
•
I'm tired of your smart-ass attitude.