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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.