This commit is contained in:
Alina Konoval 2025-10-20 21:24:57 +02:00
parent f20b798616
commit 1dcb4845fd

View File

@ -38,7 +38,7 @@ int main(void) {
if (fgets(code, sizeof(code), stdin) == NULL)
return 0;
// Odstránenie znaku nového riadku, ak existuje
code[strcspn(code, "\n")] = '\0';
printf("Read: %s\n", code);