간단한 예제의 실행 결과를 맞춰보자.
실행 결과는 어떻게 될까?
#include <stdio.h>
void meow() { // 고양이,야옹
printf("야옹\\r\\n");
}
void woof() { // 강아지,멍멍
printf("멍멍\\r\\n");
}
void moo() { // 소, 음메
printf("음메\\r\\n");
}
int main() {
meow(); // (1)
woof();
moo();
return (0);
}
야옹
멍멍
음메
별 이상없다.
int main() {
woof();
moo();
woof();
meow();
moo();
return (0);
}