When i compare two strings i can use strcmp.
But i want to know that when i compared more than 2 strings.
Have any function OR method i can use?
Thanks.

There's no function for this, use strcmp in a loop.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.