From 2f8707b00e7cbbb818f37880c0380f3e3cdbe285 Mon Sep 17 00:00:00 2001 From: rutujadhage <55835108+rutujadhage@users.noreply.github.com> Date: Mon, 19 Oct 2020 11:53:03 +0530 Subject: [PATCH] Update pgm to read a line --- pgm to read a line | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgm to read a line b/pgm to read a line index 174d15b..1a0b85e 100644 --- a/pgm to read a line +++ b/pgm to read a line @@ -6,7 +6,7 @@ int main() FILE *fptr; if ((fptr = fopen("program.txt", "r")) == NULL) { - print("Error! opening file") + print("Error encountered while opening the file") exit(1) }