Cisco Interview Question

Write code to reverse a link list. Tell the different between malloc and calloc