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

Answer Posted / b.l.paliwal

ALL PERSON ARE STUPIDS THEY DONT KNOW HERE WAT THE FUNCTION
STRCMP DO IT COMPARE BOTH STRING AND RETURN AN INTEGER
VALUE BUT ALL STUPID ARE COMPARING THE LENGTH OF STRING NOT
CHARACTER

WHAT WILL IF I WRITE RISHI
RISHI
HAAA HAA IT WILL RETURN 0
OR IF I WRITE RUCHI
SUCHI
IT WILL RETURN -1
STUPID THINK BEFORE POST UR PROGRAMME

Is This Answer Correct ?    16 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the difference between the expression '++a' and 'a++'?

629


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

915


what are # pragma staments?

1632


Why does the call char scanf work?

622


How do I determine whether a character is numeric, alphabetic, and so on?

626






What is a dynamic array in c?

599


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2272


Is c language still used?

540


What are qualifiers?

618


What is a structure and why it is used?

623


Do you have any idea how to compare array with pointer in c?

607


Which header file should you include if you are to develop a function which can accept variable number of arguments?

814


What is new line escape sequence?

814


What is sizeof in c?

573


What are the types of data files?

732