Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The last question:

> Write a C program which prints Hello World! without using a semicolon!!!

That seems daunting. At first.



If you're blocked, think for a while.


:)))


This could be fun to golf... smallest I've got is

    main(){if(puts("Hello World!")){}}


  main(a,b){if(puts(*(int*)b)){}}
Needs to be compiled as a 32-bit program, and the executable renamed to Hello\ World!

:)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: