diff --git a/du3/program.c b/du3/program.c index b6ddca0..6550ae5 100644 --- a/du3/program.c +++ b/du3/program.c @@ -9,6 +9,7 @@ int main(){ char *endptr = NULL; float result = 0; int a; + memset(riadok, 0,SIZE); for(int i = 0; i < SIZE; ){ char* r = fgets(riadok,SIZE,stdin); if(*r != '\n'){