Blurred C code - test your C context and brain cells

zhaozj2021-02-16  49

In actual work, you should not write such a code. There should be something like a bit similar.

But as learning, it can greatly improve your understanding of C language. Let you know that it is OK.

WARNING: The following code will kill you tens of thousands of brain cells, and the brain capacity is smaller.

Note: The following procedure may be K & R old program, and must be able to compile. Please do not ask the XX program that cannot be compiled. Original material from http://www0.us.ioccc.org/years.html

English is better, you can see the Hint file provided by each program directly.

[CODE] INT I; Main () {for (; i ["]

[1984 Anonymous] A alternative HelloWorld program. After formatting INT i; main (void) {for (; i ["]

READ (J, I, P) {Write (J / P P, I ---J, I / I);

It does not quote the header file, you need to compile #include with VC under Windows, Command Behavior CL Hello.c -w -nologo

Run? Hello, World!

Key: (1) i ["]

转载请注明原文地址:https://www.9cbs.com/read-15613.html

New Post(0)