Question: C (not c++) char * namesList [] = { James,Dan,Sarah}; char *name = Kevin; char *name1 = Dan; I need help checking if name/name1 is
C (not c++)
char * namesList [] = { "James","Dan","Sarah"};
char *name = "Kevin";
char *name1 = "Dan";
I need help checking if name/name1 is in the nameList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
