a) What is the difference between function and structures inC++?

b) What is the difference between structures and class inC++?