From e0b9da43b6311aa4413d030b27c6cdab000aeafd Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 13 May 2023 11:44:19 +0530 Subject: 7.4: initial commit --- 7.4/main.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 7.4/main.c (limited to '7.4/main.c') 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 +#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; +} -- cgit v1.2.3