Some body tell me what is the name of this function?

heres the code..
i don't have idea what is the name of this function ..tnx..

int counter = 0;
for( int i = 0; i < 10; i++ )
{
++counter;
cout << names[ i ] << " " << endl;

if( counter == 3 )
{
cout << endl;
counter = 0;
}
What do you mean? This isn't a function, its a counter controlled loop... which is missing a closing brace.
i mean what is the use of counter contolled loop of the function..?tnx sir..
Topic archived. No new replies allowed.