From 3c3f71ceb83e6f8317ba55244f06f67c107e5c51 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Tue, 16 Nov 2021 19:36:08 +0800 Subject: Comments. --- 1/1.c | 1 - 1/2.c | 1 - 1/3.c | 1 - 1/4.c | 1 - 1/5.c | 1 - 1/6.c | 1 + 1/7.c | 1 + 7 files changed, 2 insertions(+), 5 deletions(-) (limited to '1') diff --git a/1/1.c b/1/1.c index 5cf53fd..70aacff 100644 --- a/1/1.c +++ b/1/1.c @@ -1,7 +1,6 @@ #include /* Prints the famous "hello, world" string */ - int main(int argc, char *argv[]) { printf("hello, world\n"); return 0; diff --git a/1/2.c b/1/2.c index 182975e..6d7a762 100644 --- a/1/2.c +++ b/1/2.c @@ -1,7 +1,6 @@ #include /* Prints a formatted string containing an invalid escape sequence */ - int main(int argc, char *argv[]) { printf("hello \c world\n"); return 0; diff --git a/1/3.c b/1/3.c index c993843..42a0099 100644 --- a/1/3.c +++ b/1/3.c @@ -1,7 +1,6 @@ #include /* Prints a conversion table from fahrenheit to celsius */ - int main(int argc, char *argv[]) { float fahr, celsius; int lower, upper, step; diff --git a/1/4.c b/1/4.c index d98787b..c5eb242 100644 --- a/1/4.c +++ b/1/4.c @@ -1,7 +1,6 @@ #include /* Prints a conversion table from celsius to fahrenheit */ - int main(int argc, char *argv[]) { float celsius, fahr; int lower, upper, step; diff --git a/1/5.c b/1/5.c index fcaeb8e..617fe6b 100644 --- a/1/5.c +++ b/1/5.c @@ -1,7 +1,6 @@ #include /* Prints a conversion table from fahrenheit to celsius in reverse order */ - int main(int argc, char *argv[]) { int fahr; diff --git a/1/6.c b/1/6.c index c478c7a..240175e 100644 --- a/1/6.c +++ b/1/6.c @@ -1,5 +1,6 @@ #include +/* prints input characters */ int main(int argc, char *argv[]) { int c; diff --git a/1/7.c b/1/7.c index 44abfd3..b44935d 100644 --- a/1/7.c +++ b/1/7.c @@ -1,6 +1,7 @@ #include +/* prints the value of EOF */ int main(int argc, char *argv[]) { int c; -- cgit v1.2.3