#include <stdio.h>
float Mat[4][4][4];
float *funct1(void)
{
float Mat[4][4][4]={
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,
1.2,1.3,1.4,1.5,};
return Mat;
}
void funct2()
{
int i,j,k;
float *Mat;
Mat=funct1();
for(k=0; k<4;k++)
{
for (i=0; i<4; i++)
{
for (j=0; j<4; j++)
{
// printf(" %f ", Mat[k][i][j]);
}
printf("\n");
}
printf("\n");
}
}
int main() {
funct2();
}