0

Loops

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

27th Apr 2020, 9:18 AM
Shams Urahman Rashidy
Shams Urahman Rashidy - avatar
3 Réponses
+ 6
Shams Urhman Rashidy in c you may have this type of for loop for(int x; condition; increment){ }
27th Apr 2020, 9:30 AM
Puthur Harthik
+ 1
Thanks for help
27th Apr 2020, 9:31 AM
Shams Urahman Rashidy
Shams Urahman Rashidy - avatar
0
We can have some like this loop in c
27th Apr 2020, 9:27 AM
Shams Urahman Rashidy
Shams Urahman Rashidy - avatar