All three types of agreements are void under Indian Contract Act: sharing salary of public officer (against public policy), selling religious offices (immoral/object opposed to public policy), and procuring public posts (corruption). Therefore 'All of the above' is correct.