mac환경에서 vscode 쓰고있고 c++ 쓰는 중이고


#include<stdio.h>

using namespace std;

int main(){
printf("hello world!");
return 0;
}


실행하면

hello world!%  <-

나오는데


뒤에 % 나오는 이유가 뭔가요?


신기하게 \n 붙이면 %가 안나오긴하는데