there are several errors in your code:
Error1: in main() you declare double value[n];
I believe what you want is double value[size];
Error2: in main() statement if(n=size-1)
should be changed to if(n==size-1)
Error3: in main() you call function table=abs_table(value[n],size);
it should be table=abs_table(value,size);
Error4: you define function double abs_table(double value, int size){...}
it should be double abs_table(double value[], int size){...}
Error5: inside function abs_table
I actually don't know what you are trying to display here. One spot is that variable i
should run from 0 to size-1, another spot is that you should return something