Copy Of String In C Program Tamil


//www.tutorjoes.com
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
     int i;
     char *str1,*str2;
     clrscr();
     printf("\nENter the string :");
     gets(str1);
     for(i=0;str1[i]!='\0';i++)
     {
	 str2[i]=str1[i];
     }
     puts(str1);
     puts(str2);
     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