About 3,610,000 results
Open links in new tab
  1. Reverse a String using Stack - GeeksforGeeks

    Apr 4, 2025 · Follow the steps given below to reverse a string using stack. Create an empty stack. One by one push all characters of string to stack. One by one pop all characters from stack …

  2. Reversing a string in C - Stack Overflow

    Nov 17, 2016 · To reverse a string in C, when you have the pointers *begin and *end there is : for (char t, *y = end, *z = begin; z < --y; t = *z, *z++ = *y, *y = t); When you have not the *end …

  3. C Program To Reverse a String using Stack - Codeamy: Learn …

    Aug 1, 2019 · In this tutorial, String reverse using stack in this program. I implemented the stack push, pop function. Then, Put each character from string to stack, and as we known stack is …

  4. C program to Reverse a String using STACK

    Reversing string is an operation of Stack by using Stack we can reverse any string, here we implemented a program in C - this will reverse given string using Stack. Reverse a String using …

  5. Write a Program to Reverse a String Using Stack

    Write a C, C++ program to reverse a string using Stack data structure. In this question, A string is input by a user and our program will reverse a string using a Stack. Stack is an abstract data …

  6. C Exercises: Reverse a string using a stack - w3resource

    Mar 20, 2025 · Write a C program to reverse only the vowels of a string using a stack for storing vowel indices. Write a C program to check if a string remains unchanged after being reversed …

  7. Reverse a string using a stack data structure | Techie Delight

    Dec 1, 2021 · This post will discuss how to reverse a string using the stack data structure in C/C++, Java, and Python using explicit stack and call stack.

  8. C Program To Reverse a String using Stack - C# Corner

    May 10, 2016 · We can use this method or operation to revers a string value. *create an empty stack. *one by one push all characters of string to stack. *one by one pop all characters from …

  9. Reverse the Words of a String using Stack - GeeksforGeeks

    Aug 26, 2022 · Given string str consisting of multiple words, the task is to reverse the entire string word by word. Approach: This problem can be solved not only with the help of the strtok () but …

  10. Reverse String using Stack - CodeCrucks

    Mar 13, 2023 · To reverse a string using a stack, you can follow these steps: Create an empty stack. Push each character of the string onto the stack in sequence. Pop each character from …

  11. Some results have been removed
Refresh