Mini Intro to C: Control Flow

Mini Intro to C: Control Flow

Nov 12

Not much of a tutorial but something i found interesting.

 

According to The C Programming Language (which I trust more then the bible) it says:

for (expr1; expr2; expr3){
statement
}

is the same thing as


expr1;
while (expr2) {
statement;
expr3;
}

Bet you new C programmers didn’t know that one. I know I didn’t. Enjoy. I’ll post more minis as I find them.

AD Space

SEO Powered by Platinum SEO from Techblissonline