//example1
#include<stdio.h>
int main()
{
printf("hello World"
);
}
//example2
#include<stdio.h>
int main()
{
printf("hello World
");
}
Run Code Online (Sandbox Code Playgroud)
在示例1中,编译器未显示任何错误,但是在示例2中,编译器显示了missing terminating " character错误。为什么?