← Back to davo.co
summaryrefslogtreecommitdiffstats
path: root/literals.c
diff options
context:
space:
mode:
Diffstat (limited to 'literals.c')
-rw-r--r--literals.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/literals.c b/literals.c
new file mode 100644
index 0000000..f2c577e
--- /dev/null
+++ b/literals.c
@@ -0,0 +1,7 @@
+char const A[] = { 'e', 'n', 'd', '\0', };
+char const B[] = { 'e', 'n', 'd', '\0', };
+char const* c = "end";
+char const* d = "end";
+char const* e = "friend";
+char const* f = (char const[]){ 'e', 'n', 'd', '\0', };
+char const* g = (char const[]){ 'e', 'n', 'd', '\0', };