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  >  Placement Papers  >  TCS  >  Placement Papers

 Print  |  
Question:  Consider the following program
main()
{
unsigned int i=10;
while(i>=0)
{
printf("%u",i)
i--;
}
}
How many times the loop will get executed




September 09, 2006 16:27:18 #3
 ronit   Member Since: September 2006    Total Comments: 1 

RE: Consider the following programmain(){
 

the loop will never executed because 10 is greater than 0

     

 

Back To Question