Question Set

1. Which of the following can be used to terminate a while loop and transfer control outside the loop? exit while continue exit statement break goto






Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->A statement followed by two assumptions I and II is given. You have to consider the statement to be true even if it seems to be at variance from commonly known facts. You are to decide which of the given assumptions can definitely be drawn from the given statement. Indicate which one of the four given alternatives is correct ? Statement : If more encouragement is given to Sports, Indians will win more gold medals at the Olympic Games. Assumptions : I. Indians do not win gold medals. II. More enc....
QA->Which of the following is not a quantitative credit control weapon used by RBI to control credit....
QA->A can do a piece of work in 4 hours . A and C together can do it in just 2 hours, while B and C together need 3 hours to finish the same work. B alone can complete the work in --- days.....
QA->A can do a piece of work in 4 hours . A and C together can do it in just 2 hours, while B and C together need 3 hours to finish the same work. B alone can complete the work in --- hours.....
QA->P can do a work in the same time in which Q and R together can do it. If P and Q work together, the work can be completed in 10 days. R alone needs 50 days to complete the same work. then Q alone can do it in....
MCQ->Which of the following can be used to terminate a while loop and transfer control outside the loop? exit while continue exit statement break goto....
MCQ->Which of the following statements are correct? The switch statement is a control statement that handles multiple selections and enumerations by passing control to one of the case statements within its body. The goto statement passes control to the next iteration of the enclosing iteration statement in which it appears. Branching is performed using jump statements which cause an immediate transfer of the program control. A common use of continue is to transfer control to a specific switch-case label or the default label in a switch statement. The do statement executes a statement or a block of statements enclosed in {} repeatedly until a specified expression evaluates to false.....
MCQ->Which of the following sentences are correct about a for loop in a C program? 1: for loop works faster than a while loop. 2: All things that can be done using a for loop can also be done using a while loop. 3: for(;;); implements an infinite loop. 4: for loop can be used if we want statements in a loop get executed at least once.....
MCQ->Consider the following logical IF statement in FORTRAN 77

IF (SALT. GE. PEPPER) GOTO 11
GOTO 13

The above statement using arithmetic IF statement would be....
MCQ->Which of the following statements is correct about the C#.NET code snippet given below? switch (id) { case 6: grp = "Grp B"; break; case 13: grp = "Grp D"; break; case 1: grp = "Grp A"; break; case ls > 20: grp = "Grp E"; break ; case Else: grp = "Grp F"; break; }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution