C as a mid-level programming language