DXC Technology Interview Question

1)c program for transpose of a matrix