Page 93 - C Programming
P. 93
ตัวอย่างที่ 7-6 ตัวอย่างการเขียนฟังก์ชัน
#include<stdio.h>
void sub_function();
main()
{ clrscr();
printf("Function Main\n");
printf("Press any key for call sub function\n");
getch();
sub_function();
}/*End of funtion main*/
void sub_function()
{ printf("Sub function");
getch();
} /*End of sub_function*/