What does this C++ program do?

hey, i have a question on a job take home test. I don't know anything about C++ but i can speculate what it does, it would be great if someone could confirm what it does. What does the following C++ program do? #include <iostream.h> int main(void) { int i; int blah[3]; int *p; for (i=0;... show more hey, i have a question on a job take home test. I don't know anything about C++ but i can speculate what it does, it would be great if someone could confirm what it does.

What does the following C++ program do?

#include <iostream.h>
int main(void)
{
int i;
int blah[3];
int *p;

for (i=0; i<3; i++)
blah[i]=i;

p=blah;

for (i=3; i>0; i--,p++)
cout << *p << endl;
}
Update: okay, maybe explain what it does for me....
3 answers 3