Witam. Nie rozumiem co robię źle. W programie tworze bazę danych studentów i w pętli wpisuje ich dane a na końcu wypisuje jednego z nich. Po próbie skompilowania wyskakuje mi błąd ;undefined reference to `prnitf' Prosze o pomoc
#include <stdio.h>
#include <stdlib.h>
struct Student
{
char *imie;
char *nazwisko;
int indeks;
};
int main() {
int a;
struct Student studenci[5];
for (a=0; a<5;a++)
{
scanf("%d",studenci[a].indeks);
}
prnitf("%d",studenci[0].indeks);
return 0;
}