#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
char St[20] = "asdasd";
goto ASD;
aaa:
printf("%s\n",St);
goto end;
ASD:
{
printf("%s\n",St);
goto asd;
}
asd:
{
//St[20]="dfg";
strcpy(St, "dfg");
goto aaa;
}
end:
system("pause");
return 0;
} |