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
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
Ask specific question. What problem(s) are you having?
Show us what you've done.
Have you tried typing all those up and compiling it, that'll spill the output too
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.