summaryrefslogtreecommitdiffstats
path: root/2/4.c
diff options
context:
space:
mode:
authorSadeep Madurange <smadurange@users.noreply.github.com>2021-11-28 18:52:21 +0800
committerSadeep Madurange <smadurange@users.noreply.github.com>2021-11-28 18:52:21 +0800
commitad74a56171901d906cece1462fa573f17423556f (patch)
tree3f621836bdcb6a62edb371215cf9ea3f9c783ff5 /2/4.c
parent9cfaabcb63f06fe563251cc77a8fbcc486b45773 (diff)
downloadk&r-exercises-ad74a56171901d906cece1462fa573f17423556f.tar.gz
2.5
Diffstat (limited to '2/4.c')
-rw-r--r--2/4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/2/4.c b/2/4.c
index 23551f6..03b3bad 100644
--- a/2/4.c
+++ b/2/4.c
@@ -9,12 +9,12 @@ int main(int argc, char *argv[]) {
int i, c;
char s1[MAXLEN], s2[MAXLEN];
- printf("input first string\n");
+ printf("enter first string\n");
for (i = 0; i < MAXLEN - 1 && (c = getchar()) != '\n' && c != EOF; i++)
s1[i] = c;
s1[i] = 0;
- printf("input second string\n");
+ printf("enter second string\n");
for (i = 0; i < MAXLEN - 1 && (c = getchar()) != '\n' && c != EOF; i++)
s2[i] = c;
s2[i] = 0;