A program to print 0 and 1 infinetly by using loop. Hacking seen created by AP.

Опубликовано: 09 Май 2026
на канале: Sunita Panthi
90
14

It is not an actual hacking, it is just a seen created by 0 and 1 by using loop.
Go closely with the loop;
For loop:    • A program to print numbers from 1 to 10 by...  
While loop:    • A program to print numbers from 1 to 10 by...  

Code of this program:
void main(){
int a;
for(a=0;a is less than =2;a++){
if(a==1){
printf("%d",a);
a--;
a--;
}
else{
printf("%d",a);
}
}
getch();
}

Sorry for the unclear code, angle brackets are not allowed in description.