Code:#include <stdio.h> main() { char name[10]; short age; printf("enter your age.\n"); scanf("%d",&age); fflush(stdin); printf("please enter your name.\n"); scanf("%[^\n]",name); if (strcmp(name, "bruce") == 1 && (age >13 || age <18)) printf("u are the chosen one"); else printf("u are nothing"); getchar(); }
the error is
`strcmp' undeclared (first use this function)
i'm new in c