i have this struct
typedef struct tree_node_s{
char word[20];
struct tree_node_s *leftp,*rightp;
}fyllo
i want to print the word in a file and im using fprintf the problem is in PROBLINE
void print_inorder(fyllo *riza,FILE *outp){
if (riza==NULL) return ;
print_inorder(riza->leftp,outp);
fprintf("%s",riza->word); //PROBLINE
print_inorder(riza->rightp,outp);
}
im compiling and i got this problem
tree.c: In function ‘print_inorder’:
tree.c:35: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type
whats the problem here;