Szybka kompilacja i mamy błędy:
/tmp/test.c:50:41: error: subscripted value is neither array nor pointer nor vector
aktualnyznak[j-1] = linia[j-1];
^
/tmp/test.c:51:41: error: subscripted value is neither array nor pointer nor vector
aktualnyznak[j] = linia[j];
^
/tmp/test.c:55:41: error: subscripted value is neither array nor pointer nor vector
aktualnyznak[j] = linia[j];
Zmienna aktualnyznak jest charem a nie tablicą charów.