c copy 2 strings 5c

Solutions on MaxInterview for c copy 2 strings 5c by the best coders in the world

showing results for - "c copy 2 strings 5c"
Mateo
14 Oct 2016
1#include <string.h>
2#include <stdio.h>
3int main()
4{
5  char str[9]="A string";
6  char copy[9];
7  strcpy(copy,str);
8  printf("Copied String : %s",copy);
9  return 0;
10}