Code:
#include<stdio.h>
#include<conio.h>
void main()
{
 float x[20],fx[20],dd[20][20],z,value,k=1;
 int n,i,j;
 clrscr();
 printf("Enter the no. of interpolating points ");
 scanf("%d",&n);
 for(i=0;i<n;i++)
 {
  printf("\nEnter the values of x and f(x) ");
  scanf("%f%f",&x[i],&fx[20]);
  fflush(stdin);
 }
 value=fx[0];
 printf("\nEnter the point at which you wish to find the value ");
 scanf("%f",&z);
 for(i=0;i<n-1;i++)
 {
  dd[i,0]=(fx[i+1]-fx[i])/(x[i+1]-x[i]);
 }
 for(j=0;j<n-1;j++)
 {
  for(i=0;i<n-j-1;i++)
  {
   dd[i,j]=(dd[i+1,j]-dd[i,j])/(x[i+j+1]-x[i]);
  }
 }
 for(i=0;i<n-1;i++)
 {
  for(j=0;j<i+1;j++)
   k=k*(z-x[j]);
  value=value+(dd[0,i]*k);
 }
 printf("\nThe value is %f",value);
 getch();
}
The above program is showing the following errors in the lines "i have bolded"
1)L value required
2)L value required
3)Illegal use of pointer in function main()

Please help me..and please tell me everything about L value as well..

Reply soon.