aboutsummaryrefslogtreecommitdiff
path: root/7.4/main.c
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-13 11:44:19 +0530
committersinanmohd <sinan@firemail.cc>2023-05-13 12:29:31 +0530
commite0b9da43b6311aa4413d030b27c6cdab000aeafd (patch)
tree13935b6213f5a81d4ede15893405f91dd2b453ed /7.4/main.c
parent8a00a65c66914b7dbbf7c3c594d94698f11629dc (diff)
7.4: initial commit
Diffstat (limited to '7.4/main.c')
-rw-r--r--7.4/main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/7.4/main.c b/7.4/main.c
new file mode 100644
index 0000000..097ca6e
--- /dev/null
+++ b/7.4/main.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+#include "mscanf.h"
+
+#define MAXLEN 100
+
+int main(void)
+{
+ int i;
+ char str[MAXLEN];
+
+ mscanf("%d %s", &i, &str);
+ printf("i: %d, s: %s\n", i, str);
+
+ return 0;
+}