From a8e1107c9a49abe831a49eb47ac072aecc5cb6a1 Mon Sep 17 00:00:00 2001 From: namankunder <72254845+namankunder@users.noreply.github.com> Date: Fri, 2 Oct 2020 15:53:27 +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 9ae7bf8..045be17 100644 --- a/pgm to read a line +++ b/pgm to read a line @@ -12,7 +12,7 @@ int main() scanf(fptr,"%[^\n]", c); printf("Data from the file:\n%s", c); - close(fptr) + close(fptr); return 0; }