I have failed many times when executing a code, I thought it was in my logic in how I use loop statements, but when I tried this code:
int main(){
cout << "yo \n";
for(int i; i < 5; i++){
cout << "meh \n";
}
}
I was expecting the output:
yo
meh
meh
meh
meh
meh
But in my disappointment, it only showed
yo
So, what's the problem with this simple block of code?