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 |
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
What’s a signal? Explain what do I use signals for?
What is the purpose of the preprocessor directive error?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is the significance of scope resolution operator?
0 Answers Agilent, ZS Associates,
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
What is the difference between #include <header file> and #include “header file”?
Write a c program to demonstrate character and string constants?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
Why c is called a middle level language?
Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.
Difference between constant pointer and pointer to a constant.