-
-
Save programmingfaster0226/4b96950757a6ce40867e2ff29f827b9f to your computer and use it in GitHub Desktop.
programmingfaster.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
#include<string.h> | |
void main() | |
{ | |
char s1[100]="Elon Musk"; | |
char s2[100]; | |
strcpy(s2,s1); | |
printf("string s1:%s\n",s1); | |
printf("string s2:%s\n",s2); | |
getch(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment