#include <iostream> int main(){ for (int i = 0; i < 4; ++i) std::cout << i*5000000000 << std::endl;}
getting a warning from gcc whenever i try to run this.
:-
warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] std::cout << i*5000000000 << std::endl;
Whats the cause of this error?