Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe you were downvoted because that is K&R style, not ANSI style. ANSI requires the type declaration next to the name in the parameter list.


ANSI still allows K&R style, refer to the grammar in section 6.7.6 and the semantics in 6.7.6.3 (of C11).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: