C Language Keywords:- auto Defines a local variable as having a - TopicsExpress



          

C Language Keywords:- auto Defines a local variable as having a local lifetime. break Passes control out of the compound statement. The break statement causes control to pass to the statement following the innermost enclosing while, do, for, or switchstatement. The syntax is simply break; const Makes variable value or pointer parameter unmodifiable. When const is used with a variable, it uses the following syntax: const variable-name [ = value]; In this case, the const modifier allows you to assign an initial value to a variable that cannot later be changed by the program. For example, const my_age = 32; continue Passes control to the begining of the loop. continue causes control to pass to the end of the innermost enclosing while, do, or for statement, at which point the loop continuation condition is re-evaluated. The syntax is simply continue; For example, for (i = 0; i < 20; i++) { if (array[i] == 0) continue; array[i] = 1/array[i]; } do Do-while loop. Keyword do is usually used together with while to make another form of repeating statement. Such form of the loop uses the following syntax: do statement while (expression) statement, which is usually a compound statement, is executed repeatedly as long as the value of expression remains non-zero. The test takes place after each execution of the statement. For example, i = 1; n = 1; do { n *= i; i++; } while (i
Posted on: Wed, 12 Jun 2013 12:52:59 +0000

Trending Topics



ic-347899812064236">Clearance Sales on Speedo Kids Loco Zorillas (Little Kid/Big Kid)
Funny but true. ** Vice President -North. ** Senate President
Proof of the existence of a CREATOR.......... Here is one
I saw it again this morning. Saw that someone thinks Satan is the
#about_me Girl : Im fat Boy : No, you are not. Girl :
John W. Henry on Anfield expansion plans: “We’ll be

Recently Viewed Topics




© 2015