1 2 3 4 5 6 7 8 9 10
#include <stdio.h> #include <string.h> int main(){ char hello[11]; strcpy(hello,"hello"); if(5==5){ strcpy(hello,"goodbye "); } printf("%s%d%s",hello,6," test"); }