вот начали изучать в институте язык С.
Написал пару строк:
#include <stdio.h>
main()
{ int i;
for (i=0;i!=10;i++) printf('Hello World');
}
далее так:
$ gcc test.c -o test.out
test.c:6:29: warning: character constant too long for its type
test.c: In function `main':
test.c:6: warning: passing arg 1 of `printf' makes pointer from integer without a cast
$ ./test.out
Segmentation fault
что я не так делаю?