Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop GATE Forum : GATE AT A GLANCE : Test Series |
Topic: IT TEST ID:03 | |
Author | Message | |||||
balu
Senior Member Joined: 20Feb2007 Online Status: Offline Posts: 236 |
Topic: IT TEST ID:03 Posted: 23Feb2007 at 1:03pm |
|||||
|
Post Resume: Click here to Upload your Resume & Apply for Jobs |
|||||
IP Logged | ||||||
manju
Senior Member Joined: 20Feb2007 Online Status: Offline Posts: 221 |
Posted: 23Feb2007 at 1:05pm | |||||
for 1st question, ans 31,3!!!
Actual value of Y is untouched and modification is on X only, As it is a pass by reference, y= y+4 (this makes X =14,since pass by ref. z value is also changed to 14) z=x+y+z(this means 3+14+14 = 31) |
||||||
IP Logged | ||||||
vukkusila_ravi
Newbie Joined: 20Jul2007 Location: India Online Status: Offline Posts: 1 |
Posted: 31Jul2007 at 1:37am | |||||
the answer for ur question is c1=c2 because
both takes same time complexity l.e., O(n2).
|
||||||
IP Logged | ||||||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
|
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.