Skip to content

My Techno World

Always be there

  • Home
  • Popular
  • Category
    • C++
    • C
    • VB 6.0
    • Tutorial

C Program to copy a string from one array to another.

 data-twttr-rendered="true">
#include <stdio.h>
#include<conio.h>
void main()
{
char a[20],b[20];
clrscr();
printf("\nEnter a string\t: ");
gets(a);
strcpy(b,a);
printf("\nString copied\t: ");
puts(b);
getch();
}
Share This:    Facebook Twitter Google+ Stumble Digg
Category: C Programs
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

Popular Posts

  • VB Program to save and find electricity bill using DAO
    Program to save customer details and print details of bill using DAO  Sample : I can't show you complete code Directly so dow...
  • C++ Program to implement Digital differential analyzer (DDA graphics algorithm)
    In  computer graphics , a  digital differential analyzer  ( DDA ) is hardware or software used for  linear interpolation  of  variables  ov...
  • C++ Program to implement rotation in graphics
    In  linear algebra , a  rotation matrix  is a  matrix  that is used to perform a  rotation  in  Euclidean space . For example the matrix ...
  • VB Program to find factorial
    Program to find factorial of a number Sample : I can't show you complete code Directly so download full code from below . D...
  • C++ Program to implement reflection in graphics
    Reflection  in  computer graphics  is used to emulate  reflective  objects like  mirrors  and shiny surfaces. Reflection is accomplished ...
Copyright © My Techno World | Powered by Blogger
Design by Vipin V | Blogger Theme by Gospius Innovations | Published By Google