Home / MCQ Bank / Computer
Computer Control Structures

Which keyword can be used for coming out of recursion?

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

Related Computer Questions

To hide the name of the Company you need to define Which technology is commonly used for distributed data processing and can handle both batch and stream data processing? What will be the auxiliary space requirement of the following code? #include <bits/stdc++.h> using namespace std; void func(int arr[], int left, int right) { while (left < right) { int temp = arr[left]; arr[left] = arr[right]; arr[right] = temp; left++; right--; } } void printArray(int arr[], int size) { for (int i = 0; i < size; i++) cout << arr[i] << " "; } int main() { int arr[] = {1,4,3,5}; int n = sizeof(arr) / sizeof(arr[0]); func(arr, 0, n-1); printArray(arr, n); return 0; } In the Boyer-Moore algorithm, what is the purpose of the bad character rule? Who developed Python Programming Language?