新10 1-
117:仕様書無しさん / :
#include <stdio.h>
#include <malloc.h>
int main(int argc, char **argv)
{
char s1[4];
char s2[8];
char *p;
p = malloc(1024);
memset(s1, 0, sizeof(s2));
strcpy(s1, "ぬぽ");
strcpy(s2, "る");
sprintf(p, "ぽめぬぽ%s%s", s2, s1);
memcpy(p+6, s2, 2);
puts(p);
free(p);
return 0;
}

ir ver 1.0 beta2.2 (03/10/22)