Which is better for performance? This may not be consistent with other programming languages, so if they are different, or if you can answer my question with your knowledge in a
It is compiler specific, but I would imagine that in nearly all cases the performance will be the same for both approaches.
To be sure for a specific situation you should measure the performance, although before you spend many hours micro-optimizing code like this you should first be sure that this is in fact the bottleneck in your application (probably it isn't).
Your second example could be writen as a for loop with no initialization expression.
int age = 17; // This was made for something else in the code
for (; age < 25; age++) {
cout << age << endl;
}