Why this code does not print awesome
#include <iostream>
using namespace std;
int main() {
while (1, 0) {
cout << "awesome\n";
}
return 0;
}
But this code prints awesome Infinite times
#include <iostream>
using namespace std;
int main() {
while (0, 1) {
cout << "awesome\n";
}
return 0;
}
I'm using g++ compiler