저는
#include
using namespace std;
int main()
{
char example[] ="scientia est potentia";
for(int i=sizeof(example)/sizeof(example[0])-1; i>=0; --i)
{
cout<
}
cout<
return 0;
}
이런식으로 소스를짰는데,
결과를 보니, 앞에 한칸 띄워서 결과가 출력되던데,
왜그런가요?
저는 일부러 "scientia est potentia"0 에서 0을 생각해서
1을 뺐는데, 그래도 맨 앞에 한칸이 비네요 ㅠ