prog.c: In function ‘main’:
prog.c:9:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (i=0;i<Rozmiar;i++);
^~~
prog.c:10:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
printf("zmienna i to %d\n", i);
^~~~~~
prog.c:20:9: warning: implicit declaration of function ‘scanf_s’; did you mean ‘scanf’? [-Wimplicit-function-declaration]
scanf_s("%d", &tmp);
^~~~~~~
scanf
prog.c:12:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system("pause");
^~~~~~~~~~~~~~~
prog.c:26:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system("pause");
^~~~~~~~~~~~~~~
/usr/bin/ld: /home/flKldY/ccOD9nDt.o: in function `main':
prog.c:(.text.startup+0x9c): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status