A for
loop for(init; cond; step) { loop-body; }
is equivalent to:
init;
while(cond)
{
loop-body;
step;
}
More Related Contents:
- break statement doesn’t work in a loop [closed]
- How to convert from seconds to nanoseconds in a timeval struct?
- How do I determine the size of my array in C?
- Why malloc+memset is slower than calloc?
- makefile:4: *** missing separator. Stop
- Is it better to use C void arguments “void foo(void)” or not “void foo()”? [duplicate]
- What registers to save in the ARM C calling convention?
- Mapping a numeric range onto another
- How to use EOF to run through a text file in C?
- How to get function’s name from function’s pointer in Linux kernel?
- When / How does Linux load shared libraries into address space?
- Platform independent size_t Format specifiers in c?
- Function pointer cast to different signature
- Reading a text file backwards in C
- shared global variables in C
- Return char[]/string from a function [duplicate]
- When to use pthread_exit() and when to use pthread_join() in Linux?
- Why changing value of SO_RCVBUF doesn’t work?
- Passing too many arguments to printf
- What does -fwrapv do?
- How to remove all occurrences of a given character from string in C?
- Static vs global
- What primitive data type is time_t? [duplicate]
- C: How to wrap a float to the interval [-pi, pi)
- Does pow() work for int data type in C? [duplicate]
- 3 plus symbols between two variables (like a+++b) in C [duplicate]
- Linux shared memory: shmget() vs mmap()?
- Program received signal SIGPIPE, Broken pipe
- How to get ip address from sock structure in c?
- What is wrong with using turbo C?