An example of not used as an adverb is in the phrase "not happy," which means unhappy.
I will not go. You may not have any.
Whether you like it or not.
Origin of not
- Middle English alteration of naught, nought naught
From American Heritage Dictionary of the English Language, 5th Edition