diff options
| -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; |
