The statement
return("Option %c is not supported",'k');
is the same as
return('k');
since the expression "Option %c is not supported"
has no side effect.
Given that the return type of the function is FILE*
,
return('k');
is a problem since 'k'
is not of type FILE*
.
It seems you are not sure what you are doing. Perhaps a good tutorial will be useful.
0
solved Warning given and i can not understand why after about 10 minutes of research so i am asking