set1:
printf("Name : ");
gets (name);
if (isalpha(name)) {printf("\nSorry, input is invalid\n");
goto set1;}
this is a piece of my code, and i declared name as char name [30]; but, it says error argument of type *char is incompatible with parameter type int.. and how to validate if we input randomly alphabet and number together (e.g gghjhj88888)?
thank you for helping?