answersLogoWhite

0

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

User Avatar

Wiki User

16y 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 }


How do you update data in a database using servlet?

To update data in a database using a servlet, you typically follow these steps: First, establish a database connection using JDBC. Then, prepare an SQL UPDATE statement and set the necessary parameters. Execute the statement using a PreparedStatement, and finally, close the connection. Make sure to handle exceptions appropriately and consider using transactions if multiple updates are involved.


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.


How do you group multiple PHP statements that are controlled by a single if-then statement?

To group multiple PHP statements that are controlled by a single if-then statement, you can use curly braces {} to define a code block. This allows you to enclose all the statements you want to execute if the condition is true. For example: if ($condition) { // Statement 1 // Statement 2 // Statement 3 } By using curly braces, all enclosed statements will run together when the condition is met.


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.


How do call stored procedure in jsp?

To call a stored procedure in JSP, you typically use JDBC (Java Database Connectivity). First, establish a connection to your database using DriverManager. Then, create a CallableStatement object with the stored procedure's SQL call (e.g., {call procedure_name(?, ?)}) and set any required parameters. Finally, execute the statement using execute() or executeUpdate() and process the results as needed.


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

judgment


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.


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.


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.