原来的代码是
if (temp == 3 && (a % b != 0 || b == 0 )){
printf("go");
}
dev-c 报错:
program received signal sigsegv arithmetic **
改正后
c语言&&和||的短路性质分析 - 痞子晶的博客 - CSDN博客
https://blog.csdn.net/yhj110911119/article/details/52436085
C语言的短路现象 - blue_apolo的博客 - CSDN博客