0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
what explanation you want for the function.
0
sudheer157's Avatar, Join Date: Aug 2007
Go4Expert Member
Hi
I Want Solutin For Q No 67..
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by sudheer157
Hi
I Want Solutin For Q No 67..
Choice is 4
0
indian.21987's Avatar
Light Poster
*question number 1*/

Code:
int z,x=5,y=-10,a=4,b=2;
z = x++ - --y * b / a;What number will z in the sample code above contain?




In this,I think the answer is 10
But It is given that 12 is the ans.
How is it possible?
Please can you explain it?
Thank you.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Why don't you try and Run it on your compiler and see what is the output.
0
sudheer157's Avatar, Join Date: Aug 2007
Go4Expert Member
Hi can some one please tell me the answers for the following
Q19
Q45
Q64
Q69
Thanks in advance.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Hi can some one please tell me the answers for the following
Quote:
Originally Posted by sudheer157
Q19
I would go for choice 1 as other are not relevant to the cause of the problem.
Quote:
Originally Posted by sudheer157
Q45
Choice 4 and the choice itself tells the reason
Quote:
Originally Posted by sudheer157
Q64
Choice 2 as the pointer base address is changed by p++
Quote:
Originally Posted by sudheer157
Q69
Choice 1 and the reason lies in the choice option itself.
0
sudheer157's Avatar, Join Date: Aug 2007
Go4Expert Member
THANQ so much...for your reply...i need solutions to few more.i will be very thankful to you and i need solutions for the following
Q72
Q75
Q83
Q96
Q100
please help me out.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Here they come.
Quote:
Originally Posted by sudheer157
Q72
Choice is 3
Quote:
Originally Posted by sudheer157
Q75
Discussion is there in the comments.
Quote:
Originally Posted by sudheer157
Q83
I would vote for choice 4
Quote:
Originally Posted by sudheer157
Q96
Choice 1 and if you have doubt in such a small question you should refer to some standard C book.
Quote:
Originally Posted by sudheer157
Q100
private is not a C keyword and so I would go for choice 1.
0
sudheer157's Avatar, Join Date: Aug 2007
Go4Expert Member
hi shabbir
ihave doubts in the following questions please help me out.i m attaching those questions in a zip file as they are bmp images.
please give me the solutions either to my mail sudheer157@yahoo.com or in this forum itself.

<<Attachment Removed>>