#include <stdio.h> #include <string.h> int main() { const char *s1 = "Hello"; char *s2 = strdup(s1); printf(s2); // Hello }
CC-BY-SA 3.0 · Powered by MediaWiki
개인정보처리방침 · ABOUT