Hi, I'm currently taking a data structures course in C, and my teacher\nsaid that function prototypes are not allowed in any of our code. He\nalso said that no professional programmers use function prototypes. This\nkind of bugged me, because from other people's code that I've seen in\nthe past, almost all of them use function prototypes. The following also\nbugged me. Let's say you have a file called main.c with only the main\nfunction, and includes hello.h, to use functions within hello.c. So\nhello.h should contain prototypes for the functions in hello.c, so when\nmain.c is compiled, there won't be any warnings. If there aren't any\nprototypes in the header file, my compiler would assume the function\ncalled with main() is extern and returns an int. I tried to explain this\nto my teacher, but the answer he gave me is that I should just put the\nwhole function within the header file and not have any other *.c files.\nI haven't seen anyone put whole functions within header files before. Am\nI wrong about this or is my teacher wrong? Thank you.