Continue statements
C programming, there are several types of statements that are commonly used to control the flow of execution and perform different operations. Here are some of the commonly used statements in C programming:
Conditional Statements:
if statement: It allows you to perform certain actions based on a condition.
if-else statement: It allows you to perform different actions based on different conditions.
nested if statement: You can have if statements inside another if statement to create complex conditions.
switch statement: It provides a multi-branching mechanism based on different cases.
Looping Statements:
for loop: It allows you to execute a block of code repeatedly for a specific number of times.
while loop: It executes a block of code repeatedly as long as a given condition is true.
do-while loop: It executes a block of a block of code once and then repeats the execution as long as a given condition is true.
Control Statements:
break statement: It is used to exit from a loop or switch statement.
continue statement: It is used to skip the current iteration of a loop and move to the next iteration.
goto statement: It transfers control to a labeled statement in the same function.
Input/Output Statements:
printf() function: It is used to print formatted output to the console.
scanf() function: It is used to read input from the console.
Compound Statement:
It is a group of multiple statements enclosed within curly braces '{ }'.
Return Statement:
It is used to terminate a function and return a value to the caller.