RSSAmplifier

lemon.rip · Feb 19, 2022

C99 doesn't need function bodies, or 'VLAs are Turing complete'

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Preface The 1999 revision to the C programming language brought several interesting changes and additions to the standard. Among those are variable length arrays, or VLAs for short, which allow array types to have lengths that are determined at runtime. These can show up in different contexts, but for the purposes of this post we will be looking at VLAs as parameters to functions. For example:…

Read on /w/c99-vla-tricks/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.