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->Which cyclone is expected to intensify into a very severe cyclonic storm and will continue to move North West and change its path to North East in India, as per Indian Meteorological Department (MeT) department?....
QA->The levying of which following tax is outside the jurisdiction of Municipal Corporation?....
QA->The levying of which following taxe is outside the jurisdiction of Municipal Corporation?....
QA->Which can be used for biological control of mosquitoes?....
QA->Which is the incorrect statement of the following?....
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