I think the best way for you to learn something from these questions would be if you tried to predict what the answers are, and then simply compile and run the programs to check it your predictions were correct. If you then find they were wrong, we can try to help you understand why. You're much more likely to learn this way than if we just gave the answers.
thank you for reply.I have been following the same suggestion what you have said. My doubt is, answeres which are given for those problems are not 100% guarante or not.Till now I believed the answeres are 100% correct.After getting these type of confused questions ,I decided to get the based on the compilation and running.
I think you have not got what Ulf said. This is a place where you can get your doubts or confusions away. As its a common place (forum) run by and with several people, we need to abide certain rules or practices. Keeping that in mind, i would like to say a few things.
First of all, what do you think the answers would be? Means, your predictions?
Are the answers correct? If not, lets discuss on why the answers NOT correct (based on your assumption) and how they should be?