Loops | SoloLearn: Learn to code for FREE!

0

Loops

Is for(int x:arr) work in C and C++?

4/27/2020 9:18:41 AM

Shams Urhman Rashidy

5 Answers

New Answer

+5

In C you have no option but use classic for and while loops. Though you can create your own programming language in C. Python is written in C (and more languages)

+6

Shams Urhman Rashidy in c you may have this type of for loop for(int x; condition; increment){ }

+5

+1

Thanks for help

0

We can have some like this loop in c