diff options
Diffstat (limited to '7.4/main.c')
-rw-r--r-- | 7.4/main.c | 15 |
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; +} |