diff options
Diffstat (limited to '1')
| -rw-r--r-- | 1/1.c | 2 | ||||
| -rw-r--r-- | 1/2.c | 2 | ||||
| -rw-r--r-- | 1/3.c | 2 | ||||
| -rw-r--r-- | 1/4.c | 2 |
4 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,7 @@ #include <stdio.h> +/* Prints the famous "hello, world" string */ + int main(int argc, char *argv[]) { printf("hello, world\n"); return 0; @@ -1,5 +1,7 @@ #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,5 +1,7 @@ #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,5 +1,7 @@ #include <stdio.h> +/* Prints a conversion table from celsius to fahrenheit */ + int main(int argc, char *argv[]) { float celsius, fahr; int lower, upper, step; |
