1

C Program to reverse a string without using strrev()

Hello readers, in this post i am going to write a C program which has been asked in Interview from long time.

The question is  “Write a program to reverse a string without using strrev() in C”.

Well, I going to write a very simple C program to reverse a string for the above question.

C Program to reverse a string:

Output of the above program will be:

It’s a pretty easy program, so just read the comments in the above C program to understand what each line of the code is doing.

Enjoy the day!

 

 

agurchand

Technologist, software engineer, blogger with experience in Web development and the Media.

One Comment

Leave a Reply