answersLogoWhite

0

shashi

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

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


Define string handling function?

Penis


How do you reverse a string in PHP?

A predefined function can reverse a string as shown below:echo strrev('pizza'); // outputs: azzip


Write a function to reverse a string and to display it?

Yes.


How do you write string in reverse through the HTML tags?

Not possible through html. Use php strrev function. For eg:


How do you reverse a string with out using strrev?

By writing user defined function.


Flow chart to reverse digits of numbers?

ALGORITHM REVERSEINPUT (string)"STRINGLENGTH() would be a function that returns the lenght of the string"FOR (i = STRINGLENGTH(string); i >= 0; i--) BEGINDISPAY (string[i])END FOREND REVERSE


2 Create a Console application that gets the a number as input from the user and it should be reversed?

//This function reverse any given string, except nullstatic string Reverse(string s) {char[] temp = s.ToCharArray();Array.Reverse(temp);return new string(temp);}//The main usagestring inputString = Console.ReadLine();Console.WriteLine(Reverse(inputString));


Concat a string without using any inbuilt function in java?

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


What is the use of Reverse String in C program?

The use of the reverse string in C program is used to reverse the letters in the string. An example would be reverse me would be reversed to em esrever.


String reverse program with single string and without using library functions in java?

You can create a separate string initially empty. Then using a loop, start at the end of the string and add it to the end of the other string. At the end of the loop, the other string would contain the reverse.


How do you convert a number that consist of alphabet and number in reverse order?

To reverse a number, first convert the number to a string, then reverse the string. Given your number consists of alphanumeric characters, the number must already be a string so simply reverse the string: #include<string> using std::string; string reverse (const string& s) { string str {}; for (auto c : s) str.insert (str.begin(), c); return str; } int main () { std::cout << "Enter a number: "; string s {}; std::cin >> s; std::cout << "The number in reverse is: " << reverse (s); }