MIPI_AdvancedC_FRTK/Lect3/22_1.c

10 lines
162 B
C
Raw Normal View History

2024-11-14 08:45:50 +03:00
#include <stdio.h>
#include <string.h>
int main() {
char str1[] = "Small string.";
char str2[15];
strcpy(str2, str1);
puts(str1);
return 0;
}