#include
void print_massage( void );
void print_massage( void )
{
printf(“This is a called print_massage\n”);
}
main()
{
ptint_massage();
}
gcc -o first first.c
when i compile my programme i am getting [ (.text+0x1a): undefined reference to `ptint_massage'
collect2: ld returned 1 exit status ]this error. how can i resolve this problem?
Line 1: Complete #include
In main() : correct the spelling of function “print_massage()”
Your problem will be solved.
Line 1 : “#include”