Can an infinite for loop be created?

A for loop is only another syntax for a while loop. Everything which is possible with one of them is also possible with the other one. Any for loop where the termination condition can never be met will be infinite : for($i = 0; $i > -1; $i++) { … }

Sizin İçin Seçtik  Is Harmony One on Crypto com?

Leave a Reply

Your email address will not be published. Required fields are marked *

Can an infinite for loop be created?

A for loop is only another syntax for a while loop. Everything which is possible with one of them is also possible with the other one. Any for loop where the termination condition can never be met will be infinite : for($i = 0; $i > -1; $i++) { … }

Sizin İçin Seçtik  How do I enable 5G on my Samsung Galaxy S10 5G?

Leave a Reply

Your email address will not be published. Required fields are marked *