In in the learning phase of C and I have the following problem
I have an two dimentional array of charater that is used to store a list of employee names and I wish to search the list for a particular name... Can this be done by using the following set of codes ???
Code:printf("Enter Employee Name to Search Details:"); scanf("%s",&SEmpNam); for(i=0;i<no;i++) { for(j=0;j<20;j++) { // EmpNum is the varible that I have used to store the list of employees if(SEmpNam[j]==EmpNum[i][j]) { printf("Result Found \n"); } } }