Program to illustrates Automatic Storage Classes


#include<iostream.h>
void main( )
{
auto int i = 1 ;
{
auto int i= 2 ;
{
       auto int i = 3;
       cout<<"\n"<<i ;
}
cout<<"\n "<<i ;
}
cout<<"\n"<<i ;
}

0 comments:

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|