answersLogoWhite

0

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);

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Reverse of a string without using string handling function?

shashi


Is there a way to use regex to determine if a given string is a palindrome?

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.


How do you reverse a string in PHP without using a function?

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);


How do you accept a string by using getch() function with an example?

explain about function call


Concat a string without using any inbuilt function in java?

Use "+". Example: String string = "does this answer " + "your question?";


How do you reverse a string with out using strrev?

By writing user defined function.


How can I replace strings in a text using a specific method or function?

To replace strings in a text using a specific method or function, you can use the &quot;replace&quot; 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.


How do you find the length of string without using strlen function in MySQL?

SELECT char_length (...) FROM ...


Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


Is it possible to convert a string into integer without using any function in c?

Yes


How do you concatenate a string?

v can concatenate two string by using a function like: select CONCAT( CONCAT('ename','e_mrks'),"name","marks" from student;


Piglatin string in c without using pointer?

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.