GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 362 of 436    Print  
output of
int sqrt(volatile int *ptr)
{ return (*ptr**ptr);
}

  
Total Answers and Comments: 3 Last Update: December 22, 2006     Asked by: Divya 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 26, 2006 11:28:51   #1  
suba        

RE: output of int sqrt(volatile int *ptr){...
answer: 25
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
October 12, 2006 09:34:45   #2  
vcabrera Member Since: October 2006   Contribution: 1    

RE: output of int sqrt(volatile int *ptr){...
Please explain why 25?
 
Is this answer useful? Yes | No
December 22, 2006 22:47:15   #3  
swatias Member Since: December 2006   Contribution: 5    

RE: output of int sqrt(volatile int *ptr){...

square of value at memory whose address is defined by ptr.


 
Is this answer useful? Yes | No


 
Go To Top


 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