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 |
What is mean by data types in c?
Why void is used in c?
what is the similarities between. system call and library function?
what is the purpose of the code, and is there any problem with it. bool f( uint n ) { return (n & (n-1)) == 0; }
What are the c keywords?
How can I call a function, given its name as a string?
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.
what are the different storage classes in c?
Explain how can you avoid including a header more than once?
write a program of bubble sort using pointer?
control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent
i have a written test for microland please give me test pattern