GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Siemens  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 16 of 35    Print  
main()
base da;
derv1 d1;
derv2 d2;
printf("%d %d %d",da.function1(),d1.function1(),d2.function1());
Output is:

A. 100,200,200;
B. 200,100,200;
C. 200,200,100;
D. None of the above


  
Total Answers and Comments: 4 Last Update: July 24, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 20, 2005 03:00:38   #1  
V Shashi Bhushan        

RE: main() base da; derv1 d1; derv2 d2; printf("%d %d %d",da.function1(),d1.function1(),d2.fu...
Answer is A.

da.function1() 100
d1.function1() 200
d2.function1() 200

 
Is this answer useful? Yes | No
October 03, 2005 12:44:25   #2  
Mahesh Member Since: October 2005   Contribution: 10    

RE: main()base da;derv1 d1;derv2 d2...

Answer D.None of the above

Bcos the program output is 100 200 100


 
Is this answer useful? Yes | No
July 14, 2006 07:06:35   #3  
divya        

RE: main()base da;derv1 d1;derv2 d2...

Can anyone explain How its 100 200 100


 
Is this answer useful? Yes | No
July 24, 2006 05:19:42   #4  
sreekanth        

RE: main()base da;derv1 d1;derv2 d2...

Answer is none ....

the correct answer ia 100 200 100


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape