In case of void agreement,it is void from the beginning but in case of void contract,it is valid at the beginning(when it is made) but later by some supervening impossibility or because of govt passing rule that sth has to be not done etc,it becomes void.in case of void agreement, it is void -ab-initio