demential code [c]