Getting silly with C, part (void*)2 - lcamtuf’s thing
lcamtuf.substack.com · 1,050 words · saved by 1 readers
They won't be able to find bugs in your code if they can't figure out how it works.
Getting silly with C, part -5^-7 They won't be able to find bugs in your code if they can't figure out how it works. Jan 10, 2025 23 12 Share In the previous installment of our introductory series about the C language, we outlined the basic syntax of the switch() statement ( demo link ): #include <stdio.h> int main() { int i = 1; switch (i) if (0) case 0: puts("i = 0"); else if (0) case 1 ... 10: puts("i = 1 ... 10"); else if (0) case 11: puts("i = 11"); else if (0) default: puts("i = something else"); return 0; } Today, let’s continue with function declarations. You will be delighted to disco
saved by
related reading
- Weekend projects: getting silly with Clcamtuf.substack.com
- Writing a C compiler in 500 lines of Pythonvgel.me
- how I think when I think about programming - alice mazalicemaz.com
- A half-hour to learn Rustfasterthanli.me
- What Every C Programmer Should Know About Undefined Behavior #2/3 - The LLVM Project Blogblog.llvm.org
- Working with strings in Rustfasterthanli.me
- Zig: Already More Knowable Than C - Andrew Kelleyandrewkelley.me
- What Every C Programmer Should Know About Undefined Behavior #3/3 - The LLVM Project Blogblog.llvm.org
- Modern Cinria.hal.science
- Go's Declaration Syntax - The Go Programming Languagego.dev
- Undefined behavior, and the Sledgehammer Principle | The Pasturethephd.dev
- What Every C Programmer Should Know About Undefined Behavior #1/3 - The LLVM Project Blogblog.llvm.org