fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. // will not run
  7. for(int i = 0; i==10; i++){
  8. cout<<"i";
  9. }
  10. // will run till condition is true
  11. for(int j = 0; j<=10; j++){
  12. cout<<"j";
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0s 3096KB
stdin
Standard input is empty
stdout
jjjjjjjjjjj