Synsoft Global Interview Question

Explain high order components? Difference between functional and class based components?