[ad_1]
Use the following code:
if(strcmp(name,empName)==0)
{
...
}
Note that there must be no quotation marks around empName to compare its contents.
0
[ad_2]
solved Strcmp() function not working properly [closed]
[ad_1]
Use the following code:
if(strcmp(name,empName)==0)
{
...
}
Note that there must be no quotation marks around empName to compare its contents.
0
[ad_2]
solved Strcmp() function not working properly [closed]