#include<iostream.h> int main() { for(int i=0; i<10; i++) if(i&2) cout<<i; } | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

#include<iostream.h> int main() { for(int i=0; i<10; i++) if(i&2) cout<<i; }

...f...

9th Dec 2019, 5:43 AM
Mahmoud Taher
Mahmoud Taher - avatar
1 Réponse
+ 1
Kindly learn about bitwise AND operator and solve the "if" for yourself.
9th Dec 2019, 5:54 AM
Avinesh
Avinesh - avatar