what is difference between strcmp & palindrome?

Answers were Sorted based on User's Feedback



what is difference between strcmp & palindrome?..

Answer / akhilesh tiwari

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

what is difference between strcmp & palindrome?..

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

what is difference between strcmp & palindrome?..

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

Post New Answer

More C Interview Questions

What is mean by data types in c?

0 Answers  


Why void is used in c?

0 Answers  


what is the similarities between. system call and library function?

1 Answers   Wipro,


what is the purpose of the code, and is there any problem with it. bool f( uint n ) { return (n & (n-1)) == 0; }

1 Answers   Google,


What are the c keywords?

0 Answers  






How can I call a function, given its name as a string?

4 Answers   ABC Telecom,


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

0 Answers  


what are the different storage classes in c?

0 Answers   TCS,


Explain how can you avoid including a header more than once?

0 Answers  


write a program of bubble sort using pointer?

3 Answers   TCS,


control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent

1 Answers  


i have a written test for microland please give me test pattern

0 Answers   Microland,


Categories