I believe it is ok if someone asks something like this:
Code:
Ok somebody create me a Hello World C Program
Right now you're thinking about some options as answers:
  1. STFU
  2. We don't answer homework problems
  3. Please use code tags
  4. Code:
    #include <stdio.h>
    
    // Our program starts here.
    // main always returns an integer
    int main(
       void )   // No input values for function main
    {
       // Output hello world onto the console
       
       puts( "Hello World" );
    
       // Make sure the program doesn't just *Flash* onto the screen
    
       getchar( );
    
       // Return application successfully
       
       return 0;
    }
My support for this thinking:
The first 3 options does not help anyone. The 4th option helps you.

If we always use the 4th option this is what we get:
Benefits:
- The people who want to learn shall learn
- Less pointless posts
- Helps the poster out because he/she is practicing more
- Thread hi-jacking to share intellectual knowledge about the topic

Debenefits:
- The question spawner might just copy/paste the code and turn it in.