Thread: reverse

  1. #1
    Unregistered
    Guest

    Angry reverse

    I have two strings;
    char shula[20];
    char zulu[20];

    How do you reverse two strings in C language?

  2. #2
    Temfate
    Guest
    Define reversing strings... Do you mean swap which string has which value? Or reverse the values in the strings?

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    The easiest way to reverse a displayed string is to use a mirror. Alternately you could just turn your monitor around. Or roll it onto its top.

    Or, you could just use the SEARCH LINK because this is a common HOMEWORK ASSIGNMENT that you should actually TRY ON YOUR OWN FIRST before posting here. You'd know that if you actually READ THE LINK THAT SAYS TO READ ME FIRST.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with my reverse function and its output!
    By Matus in forum C Programming
    Replies: 4
    Last Post: 04-29-2008, 08:33 PM
  2. a reverse function
    By AngKar in forum C Programming
    Replies: 20
    Last Post: 04-27-2006, 10:35 PM
  3. Using reverse iterators in algorithms
    By 0rion in forum C++ Programming
    Replies: 1
    Last Post: 02-27-2006, 03:19 AM
  4. gethostbyaddr() reverse lookups failing (???)
    By Uncle Rico in forum C Programming
    Replies: 9
    Last Post: 08-19-2005, 09:22 AM
  5. Replies: 7
    Last Post: 03-18-2003, 03:32 PM