vineetchoudhary / TurboCPP

Turbo C++ for Latest Edition of Windows like Windows 8, Windows 8.1, Windows 10
https://developerinsider.co/turbocpp
63 stars 30 forks source link

Turbo C++ erroneously executes loop with literal 0 in condition #1

Open ShailuJain opened 5 years ago

ShailuJain commented 5 years ago

Turbo c++ behaves weird when a variable is assigned a value as 0 and direct literal 0 is used as the termination condition for for loop. You can see the following issue in below gif turboc