#include <stdio.h>
void skip(char *msg)
{
puts(msg+6);
}
char *msg_from_amy = "Don't call me";
skip(msg_from_amy);
The above code, which is an example from the book Head First C, doesn't seem to work on my Xcode. It gives the errors: 1) Type specifier missing, defaults to 'int' 2) A parameter list without types is only allowed in a function definition
Help!