4 ms·
In essence, it is the same language, just that it evolved considerably since then. There are places where you could really use a more current reference. For exa
by jfr 16y ago
In essence, it is the same language, just that it evolved considerably since then. There are places where you could really use a more current reference. For example, the book instructs you to define the main function like:
main(){
/* ... */
}
This is considered bad code style for todays standards. It doesn't state the return value (it defaults to int) and it leaves the argument list open (you can pass any number of arguments to the function).
In other places, it puts restrictions that are no longer relevant today. For example, since C99 (and most compilers allowed this long before C99) you can declare variables anywhere inside a block (which is pretty handy), and not just at the beginning of the function.