我试图让这个程序说得好但是它说好了但是我把变量值与if测试值相同
#include <stdio.h>
#include <stdlib.h>
int main()
{
char history[200];
history == "NY school";
if(history == "NY school")
{
printf("good");
}
else{printf("okay");}
return 0;
}
Run Code Online (Sandbox Code Playgroud)