Write a program to compare two strings without using the strcmp() function.

Showing Answers 1 - 1 of 1 Answers

Ravi

  • Sep 4th, 2006
 

str1="Hello";

Str2="Hello World";

while( (*str1)++ == (*str2)++ );

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions