#include<iostream.h>
void incre( ) ;
void main( )
{
incre( );
incre( );
incre( );
incre( );
}
void incre( )
{
static int i = 1;
cout << "\n" <<i ;
i = i + 1;
}
Labels: C++ Codes, C++ Other Codes
Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies| |
---|
0 comments:
Post a Comment