Click here to Skip to main content
15,882,315 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
main( )
message( message ( ) ) ;
void message( )
printf ( "\nPraise worthy and C worthy are synonyms" ) ;

What I have tried:

try to find out the real problem.
Updated 5-May-17 20:30pm

1 solution

Not like that: message takes no parameters, so you can;t pass it anything.
This will work though:
int message(int i)
    printf ("\nPraise worthy and C worthy are synonyms");

int main()
Share this answer
Klaus-Werner Konrad 9-May-17 10:55am    
Should give at least a warning message: function 'message' has no return value

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900