>n.c:12: warning: passing argument 1 of 'fopen' from incompatible pointer type infile=fopen(filename,"r"); Needs to be a string. You are passing it an array of pointers, char*filename[256]; and none of them have a valid string. Where's the name of the file to be read?

>FILE * infile=0;
Just delete that in red.

>n.c:22: warning: passing argument 1 of 'fputs' from incompatible pointer type
>n.c:22: error: too few arguments to function 'fputs' fputs(outfile); The first argument must be a string; outfile is not. fpus() require a second argument which is a pointer to a FILE; outfile would fit the bill.

Using printf() there you are displaying the reverse of the string to the monitor which is the standard output. Don't you mean to write it to another file?
If you change printf() for fputc( c, outfile ) it will write a character at a time into the file that outfile points to. However, that would create a long line with not newline characters.

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...