diff options
| author | Sadeep Madurange <smadurange@users.noreply.github.com> | 2021-11-16 19:36:08 +0800 |
|---|---|---|
| committer | Sadeep Madurange <smadurange@users.noreply.github.com> | 2021-11-16 19:36:08 +0800 |
| commit | 3c3f71ceb83e6f8317ba55244f06f67c107e5c51 (patch) | |
| tree | 1c8647a368ca1662b6426c3dce598398d6c36c58 /1 | |
| parent | 5433f7161662106ac6337db8e6344a705bb18fc2 (diff) | |
| download | k&r-exercises-3c3f71ceb83e6f8317ba55244f06f67c107e5c51.tar.gz | |
Comments.
Diffstat (limited to '1')
| -rw-r--r-- | 1/1.c | 1 | ||||
| -rw-r--r-- | 1/2.c | 1 | ||||
| -rw-r--r-- | 1/3.c | 1 | ||||
| -rw-r--r-- | 1/4.c | 1 | ||||
| -rw-r--r-- | 1/5.c | 1 | ||||
| -rw-r--r-- | 1/6.c | 1 | ||||
| -rw-r--r-- | 1/7.c | 1 |
7 files changed, 2 insertions, 5 deletions
@@ -1,7 +1,6 @@ #include <stdio.h> /* Prints the famous "hello, world" string */ - int main(int argc, char *argv[]) { printf("hello, world\n"); return 0; @@ -1,7 +1,6 @@ #include <stdio.h> /* Prints a formatted string containing an invalid escape sequence */ - int main(int argc, char *argv[]) { printf("hello \c world\n"); return 0; @@ -1,7 +1,6 @@ #include <stdio.h> /* Prints a conversion table from fahrenheit to celsius */ - int main(int argc, char *argv[]) { float fahr, celsius; int lower, upper, step; @@ -1,7 +1,6 @@ #include <stdio.h> /* Prints a conversion table from celsius to fahrenheit */ - int main(int argc, char *argv[]) { float celsius, fahr; int lower, upper, step; @@ -1,7 +1,6 @@ #include <stdio.h> /* Prints a conversion table from fahrenheit to celsius in reverse order */ - int main(int argc, char *argv[]) { int fahr; @@ -1,5 +1,6 @@ #include <stdio.h> +/* prints input characters */ int main(int argc, char *argv[]) { int c; @@ -1,6 +1,7 @@ #include <stdio.h> +/* prints the value of EOF */ int main(int argc, char *argv[]) { int c; |
