Home Forums C Programming Reverse a string without using library function

Viewing 2 reply threads
  • Author
    Posts
    • #2048
      sreedhanya
      Participant

      how to write c program to reverse a string without using library function & without loop?

    • #3297
      Humayan
      Participant

      Try

       

      • This reply was modified 8 years, 10 months ago by M. Saqib.
      • This reply was modified 1 year, 1 month ago by M. Saqib.
      • This reply was modified 1 year, 1 month ago by M. Saqib.
      • This reply was modified 1 year, 1 month ago by M. Saqib.
    • #3298
      Humayan
      Participant

      Here’s one without a loop:

       

Viewing 2 reply threads
  • The forum ‘C Programming’ is closed to new topics and replies.