while(1==1): how many times a loop run ?
Answers
Answered by
16
Answer:
Therefore, while(1), while(2) or while(-255), all will give infinite loop only. A simple usage of while(1) can be in the Client-Server program. In the program, the server runs in an infinite while loop to receive the packets sent from the clients.
Explanation:
Hope it helps you... Stay safe with your family and friends, don't forget to smile today...
Answered by
0
Answer:
Therefore, while(1), while(2) or while(-255), all will give infinite loop only. A simple usage of while(1) can be in the Client-Server program. In the program, the server runs in an infinite while loop to receive the packets sent from the clients.
Similar questions