1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #pragma warning (disable:4996) #include <stdio.h> #include <string.h> int main() { char name[100] = { '\0', }; strcpy(name, "Hong Gil Dong"); printf("%s", name); return 0; } | cs |
프로그래밍 문제/정올
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #pragma warning (disable:4996) #include <stdio.h> #include <string.h> int main() { char name[100] = { '\0', }; strcpy(name, "Hong Gil Dong"); printf("%s", name); return 0; } | cs |