projects
/
scf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5730ae
)
add ../examples/do_while.c
author
yu.dongliang
<18588496441@163.com>
Thu, 8 Jun 2023 06:14:40 +0000
(14:14 +0800)
committer
yu.dongliang
<18588496441@163.com>
Thu, 8 Jun 2023 06:14:40 +0000
(14:14 +0800)
examples/do_while.c
[new file with mode: 0644]
patch
|
blob
diff --git a/examples/do_while.c
b/examples/do_while.c
new file mode 100644
(file)
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;
+}