From ec235190e8f3240b78f943f6fbb10408783949d0 Mon Sep 17 00:00:00 2001 From: talha Date: Fri, 10 Jan 2025 14:54:54 +0500 Subject: initializing new branch --- snippets/for.c | 2 ++ snippets/ifelif.c | 4 ++++ snippets/ifelse.c | 4 ++++ snippets/switch.c | 6 ++++++ 4 files changed, 16 insertions(+) create mode 100644 snippets/for.c create mode 100644 snippets/ifelif.c create mode 100644 snippets/ifelse.c create mode 100644 snippets/switch.c (limited to 'snippets') diff --git a/snippets/for.c b/snippets/for.c new file mode 100644 index 0000000..4cc9378 --- /dev/null +++ b/snippets/for.c @@ -0,0 +1,2 @@ +for( ; ; ) { +} diff --git a/snippets/ifelif.c b/snippets/ifelif.c new file mode 100644 index 0000000..6f37315 --- /dev/null +++ b/snippets/ifelif.c @@ -0,0 +1,4 @@ +if (_) { +} else if (_) { +} else { +} diff --git a/snippets/ifelse.c b/snippets/ifelse.c new file mode 100644 index 0000000..03f9dda --- /dev/null +++ b/snippets/ifelse.c @@ -0,0 +1,4 @@ +if (_) { +} +else { +} diff --git a/snippets/switch.c b/snippets/switch.c new file mode 100644 index 0000000..b0b527a --- /dev/null +++ b/snippets/switch.c @@ -0,0 +1,6 @@ +switch (_) { + case (_): { + } break; + default: { + } break; +} -- cgit v1.2.3