Smartass is slang for a person who is an annoying know-it-all.(noun)
An example of smartass is a person who argues about a subject with someone as if they are trying to prove that they are the expert on the subject.
See smartass in Webster's New World College Dictionary
Learn more about smartass