What is a priori Knowledge and a posteriori Knowledge?
Take the statement "MK Gandhi was born on 2nd October 1869 and died on 30th January 1948; He was 78 when he died".
The first part of the statement is an a posteriori knowledge as it depends upon verifying the material facts about the dates of Gandhi's birth and death. .
But if the first sentence is in fact true, we can readily conclude that he was 78 when he died. Hence the second part of the sentence is obvious and independent of any experience. This sort of knowledge is called an a priori knowledge. A knowledge that existed before our experience.