Total beginner - I copied this code from the C For Dummies book into Xcode. The program runs ok but the editor comes up with a warning on the scanf line 'Format '%s' expects type 'char*', but argument 2 has type 'char(*)[20].' I haven't a clue what this means! Any help greatly appreciated.
Code:#include <stdio.h>Code:int main() { char me[20]; printf("What is your name?\n"); scanf("%s", &me); printf("Darn glad to meet you, %s!\n", me); return (0); }