본문 바로가기

그 외

C언어 - strcpy

strcpy

문자열 복사

#include <string.h> (이용시 string 헤더 필요)

 

형태 : strcpy(복사한 문자열을 넣을 문자열, 복사할 문자열);