Because 0
is equal to false
value.
When count become equals 0
, while
condition become false
.
More Related Contents:
- How do you type something on the same line of text in C [closed]
- What is wrong in the following program? [closed]
- “Pointer from integer/integer from pointer without a cast” issues
- I am not able to flush stdin. How can I flush stdin in C?
- Returning string from C function
- How to pass a 2D array by pointer in C?
- Undefined reference to sqrt (or other mathematical functions)
- What’s the correct way to use printf to print a clock_t?
- How do you do non-blocking console I/O on Linux in C?
- Does C support overloading?
- how to print __uint128_t number using gcc?
- Difference between char* and const char*?
- What do the parentheses around a function name mean?
- How to print every executed line in GDB automatically until a given breakpoint is reached?
- what does it mean to convert int to void* or vice versa?
- Time complexity of a recursive algorithm
- Get the start and end address of text section in an executable
- Receiving multiple multicast feeds on the same port – C, Linux
- C equivalent to fstream’s peek
- Why (and when) do I need to use parentheses after sizeof?
- Incompatible pointer types passing in _Generic macro
- Header per source file
- While-loop ignores scanf the second time
- Using scanf and fgets in the same program?
- Are constant C expressions evaluated at compile time or at runtime?
- Changing a macro at runtime in C
- Getting started with Intel x86 SSE SIMD instructions
- Do you prefer “if (var)” or “if (var != 0)”? [closed]
- C difference between *[] and **
- Any benefit in using WEXITSTATUS macro in C over division by 256 on exit() status?