Hello Friends!
I am trying to compile following code in C but compiler is displaying following error message.
"Type mismatch in the redeclaration of function display"
I am pasting code here. So please friends guide me as I need your guidance to solve that problem.
main()
{
char string[]="Hello World";
display(string);
}
void display(char *string)
{
printf("%s",string);
}
Thanks