answersLogoWhite

0

sorry iam searching for answre

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the purpose of goto statement in c?

The purpose of goto is to skip over code and gotoa named label.Goto is not as bad to use as you will read in many places, goto has a bad name from BASIC where gotoproduced spaghetti code that was impossible follow and understand.In C you can only goto go to a named label in the same function that the goto statement is in. The named label can be prior or post of the goto statement.Goto is very useful (in a limited scope) to jump over a bunch of if statements that are redundant because it has already been established that a particular section of code in the function needs to be executed. Judicious use of goto can improve the human readability of the code and also improve the programs performance.


What does F5 do in Microsoft office?

F5 (or Ctrl+G) opens the Excel GO TO box where you can enter a cell and the cursor will jump to that cell when you press ENTER.Press F5Enter E135 in the GOTO boxPress ENTERObserve your cursor in cell E135activates Excel's Go To featureThe GoTo box pops up.


What is go-to unconditional in c plus plus?

An unconditional goto is a goto that has no associated conditional expression. The following example demonstrates conditional and unconditional goto statements. int x=rand(); if (x) goto label_1; // conditional goto (when x is non-zero) else goto label_2; // conditional goto (when x is zero) label_1: // ... goto label_3; // unconditional goto (jump past label_2) label_2: // ... label_3: // ...


How can you do a goto in pascal?

In Pascal, you can use the goto statement to transfer control to a labeled statement within the same procedure or program. First, define a label using a name followed by a colon, and then use the goto statement followed by the label name to jump to that location in the code. However, using goto is generally discouraged as it can lead to code that is difficult to read and maintain. It's often better to use structured control flow statements like loops and conditionals instead.


What is goto?

A statement found in many computer programming languages. It is a combination of the English words go and to. When executed it causes an unconditional transfer of control (a "jump") to another statement. The jumped-to statement is specified using some kind of label, which may be an identifier or a line number depending on the language. At the machine code level a goto is a form of branch or jump statement.


What is switch and jumping in pointer programming C plus plus?

There's no such thing as "jumping" in C++ (the equivalent of the JMP assembly instruction). A goto is quite similar to a jump, but the jump is localised to the current function. If you need to jump outside the function you need to make a function call instead. However a function call is not the same as a jump because functions return to the caller but a jump does not return. A goto does not use a pointer, it simply "jumps" to the labelled section of code, where the label must reside within the current function. For instance, the following example demonstrates a procedural loop using goto: unsigned loop=0; :again std::cout << ++loop << std::endl; if (loop != 100) goto again; Note that a label begins with a colon. A switch is similar to a goto where an expression is evaluated and control passes to the label that matches the result of that evaluation. For instance, suppose you have the following conditional goto: unsigned r = rand() %10 + 1; // a random number in the range [1:10] if (r<3) goto less_than_three; else if (r<5) goto less_than_five; else if (r<7) goto less_than_seven; else if (r<9) goto less_than_nine; else goto less_than_eleven; :less_than_three // ... :less_than_five // ... :less_than_seven // ... :less_than_nine // ... :less_than_eleven // ... Note that if r is less than 3 then it is also less than 5, 7, 9 and 11, so execution passes through all the labels in succession (unless we were to place another goto, a break or a return before the next label). But if we suppose this is exactly what we want, consider that if the value is 9 or 10, then we have to evaluate all the expressions, r<3, r<5, r<7, r<9 and r<11, before we reach the point where we can make the jump. With a switch, we can achieve the same thing more efficiently: switch (r) { case (1): case (2): // ... case (3): case (4): // ... case (5): case (6): // ... case (7): case (8): // ... case (9): case (10): // ... } Note that switch labels begin with the case keyword and end with a colon (the parenthesis are optional). If we do not wish our code to flow through to the next case label we must place a goto, break or return statement before the next case label. We can also choose a default case. For instance, since the last case has to be 9 or 10, we can combine these into a default case: switch (r) { case (1): case (2): // ... case (3): case (4): // ... case (5): case (6): // ... case (7): case (8): // ... default: // ... } The default does not have to be last option, it simply caters for any result not handled by a specific case label. Execution continues from that point until the end of the switch statement, unless a break, return or goto is encountered.


Why we avoid goto statement in c?

Edsger Dijkstra said, excessive usage and unstructured usage of goto may:1. lead to a very bad/un-readable/un-structrured/complicated code2. increase the complexity of debugging and analyzing the code.But there are some hidden-gotos that we use in C language1. break2. continue3. return.Rules of thumb:It is not very bad to use goto in any language if we follow the following rules1. Always use gotos to jump to a forward location. Gotos are very useful in cleanup activities2. Backward jump can always be accomplished by using continue inside a loop. This doesn't mean that we shouldn't use backward gotos. Backward gotos can be introduced when the code is very legible and it is not disrupting the structure and readability of the code and there are only a few backward gotos.3. Use do { .... if(xx) break; ... } while(0); - type of coding will suite to most of the places where we need to use goto.4. Usage of goto to jump into another code-block/scope is always bad. Instead strucure the code in such a way that goto-lables are placed at the start of the code-block/scope.5. The primary-advantage of using goto when compared to its alternative ways is, goto is fast.6. Avoid as much gotos in your code and use goto only when you feel that usage of goto's alternative ways will slowdown the execution or they increase the complexity or decrease the readability.7. Make sure that usage of goto/break/continue/return is not creating any unreachable code8. Keep in mind that usage of goto is near to punishable offence w.r.t some organization's/intuition's coding standards.


Which text editor has a jump to percent through function?

NPP+ is the text editor has a jump to percent through function.


What is go to statement and also show the flow chart of go to?

A goto is equivalent to a JMP (jump) instruction. In high-level languages we typically use line numbers or user-defined labels to indicate which instruction a goto should jump to while the compiler or interpreter will calculate the machine address for us. Goto statements are typically used in conjunction with branch control statements (if statements), however in high-level structured languages there is rarely the need to use a goto. Indeed, code that jumps about in an unstructured manner can be difficult to read and maintain.


What is the function of a frog's leg?

the function of a frog is to help it jump around


Do squirrels jump?

Yes, squirrels are known for their ability to jump. They can jump large distances between trees or other structures with ease, using their strong hind legs and bushy tails for balance and propulsion.


How do you get past the jump?

you have to jump using your legs.