String Reverse In C Programming Tamil


//www.tutorjoes.com
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
     int i,n=0,j=0;
     char *a,*b;
     clrscr();
     printf("\nENter the string :");
     gets(a);
     for(i=0;a[i]!='\0';i++)
     {
	n++;
     }
     for(i=n-1;i>=0;i--)
     {
       b[j]=a[i];
       j++;
     }
     puts(b);
     getch();
}

Login To Download Source Code

Leave a Comment:

Login To Comment

List Of Programs


Goto Examples

Operators

Looping

Number Conversion

Pattern Design

Arrays

Matrix Examples

Sorting Examples

String Function

Change Case

String In C

Maths Functions

User Defined Functions

Recursive Functions

Pointer

Structure

File Concept

Calender Programming