answersLogoWhite

0

for (;;) ...statement...;

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you group multiple PHP statements under an if statement?

If I got your question correctly, you want multiple statements to be executed using if-else statement. Here goes the code for it if($x>0) { // multiple statments here // As long as statements are in curly bracket // All of them would execute // before the if statement finishes } else { // same way put all your multiple statements // in curly brackets. All of them would execute // using a single if-else statement }


Why for loop is not terminated in c?

Of course the for loop is terminated in C. All statements are terminated. Look at the syntax of the for statement... for (init-statement; test-condition; loop-statement) body-statement; That looks quite terminated to me. (By the semi-colon) Perhaps you are thinking about statement blocks... for (init-statement; test-condition; loop-statement) { statement; statement; ... statement; } ... Well, that is just fine because the body-statement, like any other statement, can be replaced by one or more statements enclosed in braces. There is still a terminating semi-colon on each statement. if i am understanding ur ques. right then according to me it is correct that for loop is not terminated because we do not execute for loop.we only check the conditions. those statements are terminated which we want to execute. because using a semicolon or terminating the statement means that statement is execitable.


When referring to SIPDE when you execute you are using what ability?

judgment


In which of the following scenarios would you need to use a nested IF statement?

You use a nested if when the condition is dependent upon another condition. For example: if (ptr != nullptr) { // ptr is non-null -- test the value it refers to if (ptr* == 0) { // the value pointed to by ptr is zero } else { // the value pointed to by ptr is non-zero } } In this case, the alternative to a nested if creates an inefficiency: if (ptr != nullptr && *ptr == 0 ) { // ptr is valid and refers to the value zero } else if (ptr != nullptr) { // ptr is valid and refers to a non-zero value } In this example, the expression "ptr != nullptr" is evaluated twice when ptr is valid and refers to a non-zero value. The nested if only evaluates this expression one time.


A corollary is a statement that can be easily proved using a statement?

No. A corollary is a statement that can be easily proved using a theorem.


Which term is defined as the lack of satisfaction a person receives from using a product repeatedly?

Diminished Marginal Utility is the lack of satisfaction a person receives from using a product repeatedly.


What is the purpose of using the IF function?

To execute condition code blocks.


How do you beat the elite four with Venusaur?

Using wrap repeatedly


Is a theorem a statement that can be easily proved using a corollary?

No. A corollary is a statement that can be easily proved using a theorem.


A corollary is a statement that can easily be proved using a theorem?

A corollary is a statement that can easily be proved using a theorem.


A corollary is a statement that can be easily proved using a theorem?

No. A corollary is a statement that can be easily proved using a theorem.


How do you retrieve data from one MySQL table and create another MySQL table with the same data in it using PHP?

Execute a SELECT INTO statement on the mysql database: INSERT INTO destination_table (id, first_name, last_name) SELECT id, first_name, last_name from source_table;