Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Xiaomi employees share this C language code, not only, but also very wretched!


Jun 02, 2021 Article blog



For the program Daniel, for others to write the cattle force code, is always particularly interested. B ut there are netizens to share the following C language code, is said to be very, the main reason is that it is very wretched. T he code's sharer is said to be Xiaomi Investment, miUI's head of ecology and gaming. How wretched is this code shared by Xiaomi employees?

 Xiaomi employees share this C language code, not only, but also very wretched!1

The sharer said the code was a piece of code he saw when he first started learning C. H e felt that although it was not particularly, it was very wretched. Because you can't imagine someone writing a program that's so wretched.

 Xiaomi employees share this C language code, not only, but also very wretched!2

 Xiaomi employees share this C language code, not only, but also very wretched!3

What do other netizens think of this wretched code?

Netizen one: with wretched to describe this code, quite accurate.

Netizen 2: The variable name is actually all a letter, and this line break, it looks quite wretched.

Netizen 3: I want to see vomit.

Netizen 4: It's really too wretched.

 Xiaomi employees share this C language code, not only, but also very wretched!4

Netizen 5: These codes, should be confused, so as not to be used directly by others.

Netizen six: run a bit, did not find the error, the result also came out, but I can not see where the wretched.

Netizen 7: If I remember correctly, this code comes from the teaser programming contest. T his contest requires a complex code to output a very simple result. If I remember correctly, such a long piece of code, the final output is hello world.

Although there are a lot of comments from netizens, there are different opinions, from hello world to no. S ome feel wretched, but also feel not wretched, in short, we all express their views. W3Cschool believes that there are a lot of programs in the netizen Daniel, do not know what you think of this code, you can leave a message below Oh!