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
How does selection sort work in c?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What is omp_num_threads?
What is the meaning of c in c language?
please send me the code for multiplying sparse matrix using c
What is "Duff's Device"?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
What is uint8 in c?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Why functions are used in c?
Explain the advantages of using macro in c language?
What is far pointer in c?
How do you view the path?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none