Hi, > void MyFunc(int N, float my_matrix[N][N]) Have you tried as below? void MyFunc(int N, float my_matrix[][]) Best Regards, Ashok.A