LTM Limited Interview Question

Write a program to reverse a number? What are the different layers in OSI layer how they communicate?