Home / MCQ Bank / Computer
Computer Control Structures

Which keyword is used to come out of a loop only for that iteration?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • continue

Related Computer Questions

______ is a partition of the vertices of a graph in two disjoint subsets that are joined by atleast one edge. What will be the output of the following C++ code? #include <iostream> #include <stdarg.h> using namespace std; float avg( int Count, ... ) { va_list Numbers; va_start(Numbers, Count); int Sum = 0; for (int i = 0; i < Count; ++i ) Sum += va_arg(Numbers, int); va_end(Numbers); return (Sum/Count); } int main() { float Average = avg(10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9); cout << "Average of first 10 whole numbers : " << Average; return 0; } What will be the output of the following C# code? interface calc { void cal(int i); } class displayA :calc { public int x; public void cal(int i) { x = i * i; } } class displayB :calc { public int x; public void cal(int i) { x = i / i; } } class Program { public static void Main(string[] args) { displayA arr1 = new displayA(); displayB arr2 = new displayB(); arr1.x = 0; arr2.x = 0; arr1.cal(2); arr2.cal(2); Console.WriteLine(arr1.x + " " + arr2.x); Console.ReadLine(); } } How may types of computer according to the size? What will be the output of the following C# code? static void Main(string[] args) { int temp = 1; switch (temp << 2 + temp) { default: Console.WriteLine("Example1"); break; case 4: Console.WriteLine("Example2"); break; case 5: Console.WriteLine("Example3"); break; case 8: Console.WriteLine("Example4"); break; } Console.ReadLine(); }