no its not compiler problem what ur write should exactly write code for that 
output
--- On Sun, 29/3/09, soumyaon9 <[email protected]> wrote:

From: soumyaon9 <[email protected]>
Subject: [c-prog] Re: Weird...
To: [email protected]
Date: Sunday, 29 March, 2009, 9:22 PM











    
            --- In c-p...@yahoogroups. com, Michael Sullivan <msulli1355@ ...> 
wrote:

>

> The following code:

> 

> 

> for (int i = 0; i < 12; i++)

> 

> {

> 

> x = 0;

> 

> y = 0;

> 

> if (i >= 4 && i < 8)

> 

> {

> 

> x = 100;

> 

> }

> 

> if (i >= 8 )

> 

> {

> 

> x = 200;

> 

> }

> 

> }

> 

> i think its ur compiler problem..... ..its out put is x = 200,y = 0




 

      

    
    
        
         
        
        








        


        
        


      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[Non-text portions of this message have been removed]

Reply via email to