+ 3
What is output??
*what is output ?* main() {unsigned int i; int count=0; for(i=0;i<10;i--) count++; printf("%d", count); } Please explain me
1 ответ
+ 3
it should be why output is this ,you can use code playground or wherever run the code online to see the output
Output is 1 because Loop runs only once then i value becomes negative and unsigned only accepts positive values