Akhil T
2007-07-24 23:12:21 UTC
#include
main()
{
int i,j,k;
double a[4][4][4];
getvalues(&a[4][4][4]);
for(k=0;k<4;k++)
{
for(j=0;j<4;j++)
{
for(i=0;i<4;i++)
{
printf(" %lf ",a[i][j][k]);
}
}
}
return(0);
}
getvalues(double ***px)
{
int i,j,k;
for(j=0;j<4;j++)
{
for(i=0;i<4;i++)
{
for(k=0;k<4;k++)
{
*((*((*(px+i))+j))+k)=1;
}
}
}
return(0);
}
if u thnk there is ny error in this code plz inform me ....
but plz reply fast