ttp://www.sgnet.co.jp/c/2-1.htm
ここのサイトで

#include <stdio.h>
void main()
{
printf( "好きなことを書きましょう" );
}

ってなっているので、実際にやってみると
testa.c:1: error: missing terminating " character
testa.c: In function `main':
testa.c:3: warning: return type of 'main' is not `int'
というふうにエラーがでます。

で、大学では

#include <stdio.h>
int main(void)

って習ったのですが、どう違うんですか?こっちではうまくいったのですが。