C语言在函数中使用goto的问题#include <stdio.h>#include <string.h>int main(){A:{printf("1\n");}void aa(){goto A;}printf("2\n");aa();}编译后报错:error: label 'A' used but not defined可是我需要goto在void aa()里,该怎么改?
慕神8447489
相关分类