GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Integra  >  Aptitude
Next Question 
 Aptitude  |  Question 1 of 21    Print  
Optimize the below for time:
int i;
if i=0 then i:=1;
if i=1 then i:=0;


  
Total Answers and Comments: 3 Last Update: June 16, 2006   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: swati kumari
 
it is difficult to answer.tell the answer

Above answer was rated as good by the following members:
gowsar
March 17, 2006 04:24:22   #1  
Inicko        

RE: Optimize the below for time:int i;if i...
i: 1-i
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
June 16, 2006 07:19:51   #2  
swati kumari        

RE: Optimize the below for time:int i;if i...
it is difficult to answer.tell the answer
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
June 16, 2006 07:42:07   #3  
swati kumari        

RE: Optimize the below for time:int i;if i...
Optimize the below for time:int i;if i 0 then i: 1;if i 1 then i:it is the question i want to know the answer.
 
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