Quantcast
Channel: Tips for golfing in C - Code Golf Stack Exchange
Viewing all articles
Browse latest Browse all 67

Answer by vengy for Tips for golfing in C

$
0
0

Omit Array Length

If you don't mind possible undefined behavior, define an array C[] (compiler assumes to have one element) and then rely upon the adjacent memory as usable space.

C[];main(){...}

Try it online!


Viewing all articles
Browse latest Browse all 67

Trending Articles