what is difference between strcmp & palindrome?
Answers were Sorted based on User's Feedback
strcmp is string comparison function used to compare between two string.whereas polindrome is not any string function.
but we can create programe to check polindrom string/number
using strrev function.
example of polindrome string. ABA,MAM,MADAM.
it means both side read and pronounciation are same is called polindrome.......
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mohit singh sisodiya yuv
strcmp is a string comparator and palindrone is a
combination of strcpy,strcmp ,strrev we can use them in
place of all
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / arun mavi 8800849839
strcmp is a sting word which is used in our c++ language .Its means to read and write the function
| Is This Answer Correct ? | 1 Yes | 10 No |
main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 Answers Vector, Vector India,
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database
2 Answers TCS, Unisys, Webyog,
What is restrict keyword in c?
what is the function of pragma directive in c?
How does normalization of huge pointer works?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
True or false: If you continuously increment a variable, it will become negative? 1) True 2) False 3) It depends on the variable type
What is bubble sort in c?
1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.
Explain the concept and use of type void.
Do array subscripts always start with zero?
how to find the kth smallest element in the given list of array elemnts.