A piece of foreign code solves windows

Source: Internet
Author: User
The previous one is named Masaru tsuchiyama (left in ProgramBelow, so it should be his nickname) Foreign programmers published a short C Language Code. If this 9-line applet runs in Windows XP/2000, it can cause the system to crash completely and restart. However, this program has no effect on other versions of Windows. The code for this small program that generates infinite loop output is as follows:

# Include

Int main (void)

{

For (;;){

Printf ("hung up/T/B ");

Print ("hung up/T/B ");

}

Return 0;

}

If the print statement is removed, the program will also cause a blue screen error in the NT 4.0 system.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.