summaryrefslogtreecommitdiff
path: root/lab01/debug0.c
diff options
context:
space:
mode:
Diffstat (limited to 'lab01/debug0.c')
-rw-r--r--lab01/debug0.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/lab01/debug0.c b/lab01/debug0.c
new file mode 100644
index 0000000..61ada07
--- /dev/null
+++ b/lab01/debug0.c
@@ -0,0 +1,18 @@
+#include <stdio.h>
+#include <string.h>
+int *a;
+
+int main(int argc, char *argv[])
+{
+ int x=5;
+ int y;
+
+ sleep(4);
+
+ y = atoi(argv[1]);
+
+ printf("Hello World! x=%d, y=%d\n", x,y);
+
+ return(0);
+}
+