Possible.
int cmp;
cmp= strcmp (p, q);
if (cmp<0) printf ("%s < %s\n", p, q);
else if (cmp>0) printf ("%s > %s\n", p, q);
else printf ("%s == %s\n", p, q);
shashi
Yes, you can use regex to determine if a given string is a palindrome by reversing the string and then comparing it to the original string using regex.
Without any function is impossible. So I'll assume you mean any coded function, in which case the predefined function below is your answer.$string = strrev($string);
explain about function call
Use "+". Example: String string = "does this answer " + "your question?";
By writing user defined function.
To replace strings in a text using a specific method or function, you can use the "replace" function in programming languages like Python or JavaScript. This function allows you to specify the string you want to replace and the new string you want to replace it with.
SELECT char_length (...) FROM ...
This is not a question.
Yes
v can concatenate two string by using a function like: select CONCAT( CONCAT('ename','e_mrks'),"name","marks" from student;
Sure, you can write a function in C to convert a string to Pig Latin without using pointers by passing the string as a parameter and manipulating it directly within the function. You can split the string into words, check if a word starts with a vowel or consonant, and then apply the appropriate transformation following the rules of Pig Latin. Remember to allocate enough memory for the modified string to prevent buffer overflow.