wise guy
wise guy {n. phr.}, {informal}
A person who acts as if he were smarter than other people; a person who jokes or shows off too much
Bill is a wise guy and displeases others by what he says.
Categories:
Source: A Dictionary of American Idioms