I have prepared a C Program in LINUX which has the following command line:

AP[i][j]*temp.T[i][j] = AE[i+1][j]*temp.T[i+1][j]+AW[i-1][j]*temp.T[i-1][j]+ AN[i][j+1]*temp.T[i][j+1]+ AS[i][j-1]*temp.T[i][j-1];

the error message on compilation is: invalid lvalue assignment.

Why is this error coming? I am not able to understand how to get over this error. Please suggest.

Thanks

Sanjib