can any one give me a c program for finding the length of the string and also to compare it with other strings with the help of linked list

Recommended Answers

All 2 Replies

If it is a character array then use the functions in string.h header file. strlen() returns the length of a character array while strcmp() compares two character arrays.

Don't look for code here. Spoonfeeding is strictly avoided here. Let us know what you have done so far.

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.