answersLogoWhite

0

int f(int num)

{

int i;

for (i = 0; i < 10; i++)

{

if (num > i) continue;

printf("aaa");

}

}

printf will only be reached when i <= num.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

How do you use a c program-continue statement in a block not in a loop?

You can use it like an usual operator. Everything (in the same block) after continue will not be executed.


Which symbol is used as a statement terminator in C?

semicolon ';' (Not applicable for block-statements)


What is the term for a group of one or more C statements enclosed in braces?

The term for a group of one or more C statements that are enclosed in braces is called a command block. A command block is a block that is made with the intent to support adventure mode.


What is meant by block statement in c language?

BNF:statements -> | statement statementsstatement -> block | null_statement | expression_statement | if_statement | while_statement | ...null_statement -> ;expression_statement -> expression ;block -> { declarations statements }declarations -> | declaration declarationsif_statement -> if ( expression )statement


How do you use a C-continue statement in a block- without any looping or conditional statements?

In the C language, the continue statement can only be used within a loop (for, while, or do). Upon execution, control transfers to the beginning of the loop.


In C programming language what are the so called functions statement statement block function block and expressions?

Statements are composed from expressions. A semi-colon turns an expression into a statement. A function is not a statement it is a type definition. A statement block is a compound statement, one or more statements delimited by braces, {}. A function block is the body of a function. The body must be enclosed in braces, {}.


The arguments in an IF function are?

IF, in C and C++, is not a function - it is a statement. There are two parameters... if (expression) statement; The expression is evaluated. If it has logical result true, or arithmentic result not zero, the statement is executed; if not, the statement is not executed. The statement can be a single statement, in which it is terminated with a semi-colon, or it can be a block of statements, in which it is surrounded by braces.


What programming languages use a C switch statement?

There are two programming languages which use a C switch statement. The two languages are C and C++, hence the name C switch statement. There may be more, but those are the most obvious ones


What the syntax of for loop in c?

for (&lt;exp1&gt;; &lt;exp2&gt;; &lt;exp3&gt;) &lt;statement&gt; exp1 and exp3 are optional; statement can be null-statement or block-statement. Correction: All expressions are optional. An infinite loop has no expressions: for(;;);


Why you use if and else statement in c language program?

There is no "elseif" statement in C. You can only use "else" and "if" separately. This is a good reason for switch/case/break.


Why you use while function in c?

It is a statement; you can create a loop with it: while (&lt;condition&gt;) &lt;statement&gt;


What is a block in c plus plus?

Assuming you mean a code block, a group of simple statements enclosed in braces {} is regarded as a code block. In other words, a compound statement. Braces are not required around simple statements except when the statement is the body of a function (where braces are mandatory).