1.

Can The “if” Function Be Used In Comparing Strings?

Answer»

No. “If” COMMAND can only be used to compare numerical values and single CHARACTER values. For comparing string values, there is another function called strcmp that deals specifically with STRINGS.

No. “If” command can only be used to compare numerical values and single character values. For comparing string values, there is another function called strcmp that deals specifically with strings.



Discussion

No Comment Found