Le Thu, 30 Dec 2021 13:42:48 +0500, Nikita Zlobin nick87720z@gmail.com a écrit :
The main problem for newcomer with K&R C tutorial may be not even learning style, but language version it uses. It uses so-called old C language version - first version existed, requires special gcc option to enable. In particular, this version permits such old style of function definition:
int main (argc, argv) int argc; char ** argv; { ....; }
That's not the case in the 2nd edition of the book, which describes ANSI C (C89) and is the one in print since 1988 :-)