Thread: c programming

  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    1

    c programming

    Hey, i know we r not meant to post a whole bunch of questions for answers but this is just a practice exam that i would like some solutions for. Sorry if this is against the rules but please feel free to help me out. thanks

  2. #2
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    Ask specific question. What problem(s) are you having?
    Show us what you've done.

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    30
    Have you tried typing all those up and compiling it, that'll spill the output too

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Here is what you should be doing:
    - Write the answer yourself
    - Compile and run the answer yourself
    - If you're right, feel good about it.


    If you're wrong, and you're still confused by what the compiler outputs, then post that specific question here, along with what you think the answer should be and what your compiled code actually did.

    Dumping a scan of your homework just doesn't cut it.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed