From d6f0bdfa06c36d13a0e42ce483e17fd9830b48c9 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Thu, 8 Jun 2023 14:14:40 +0800 Subject: [PATCH] add ../examples/do_while.c --- examples/do_while.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/do_while.c diff --git a/examples/do_while.c b/examples/do_while.c new file mode 100644 index 0000000..c045445 --- /dev/null +++ b/examples/do_while.c @@ -0,0 +1,12 @@ +int printf(const char* fmt, ...); + +int main() +{ + int i = 0; + + do { + printf("%d\n", i++); + } while (i < 10); + + return 0; +} -- 2.25.1