Ad hoc is defined as something that is done for a special need.(adverb)
Forming an army to deal with an invasion is an example of forming an army ad hoc.
The definition of ad hoc is something that is or was done to address a certain purpose.(adjective)
Appointing an impromptu committee to deal with tax cuts is an example of an ad hoc committee.
See ad hoc in Webster's New World College Dictionary
Origin: L, to this
See ad hoc in American Heritage Dictionary 4
Origin: : ad, to
Origin: + hoc
Origin: , neuter accusative of hic, this.
Learn more about ad hoc