Write a c program to find trace and norm of a square matrix using function