GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  OOPS

 Print  |  
Question:  output and why?

main(){
float a=.5,b=.7;
if(b<.7)
if(a<.5)
printf("b<.7 and a<.5");
else
printf("b<.7 and a>=.5");
else
printf("b>=.7");
}




May 05, 2006 00:49:05 #1
 Umme Zakira   Member Since: Visitor    Total Comments: N/A 

RE: output and why?main(){ float a...
 
the output is printf("b<.7 and a>=.5");
     

 

Back To Question