From 06faf0b0a1ce14d547c12ee5d53876fa5105e59e Mon Sep 17 00:00:00 2001 From: Artem Horbunov Date: Wed, 8 Apr 2020 16:43:14 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu6/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du6/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/du6/program.c b/du6/program.c index 1b61814..0014bec 100644 --- a/du6/program.c +++ b/du6/program.c @@ -95,9 +95,9 @@ int main(){ if(test1){ strcpy(string, ""); } - char array[] = ""; + char array[] = "\n"; if(test2){ - strcpy(array, "\n"); + strcpy(array, ""); } //Print names if(newLines <= lines){