Home / MCQ Bank / Computer
Computer Classes And Modules

Which are usually variables that are used internally in object methods and also are globally visible variables?

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

Related Computer Questions

What is the code snippet to find all container elements with class β€œreveal”? What will be the output of the following code? #include <bits/stdc++.h> using namespace std; void func(int arr[], int n) { int count[n]; memset(count, 0, sizeof(count)); for (int i=n-2; i>=0; i--) { if (arr[i] >= n - i - 1) count[i]++; for (int j=i+1; j < n-1 && j <= arr[i] + i; j++) if (count[j] != -1) count[i] += count[j]; if (count[i] == 0) count[i] = -1; } for (int i=0; i<n; i++) cout << count[i] << " "; } int main() { int arr[] = {1, 3, 5, 8, 9}; int n = sizeof(arr) / sizeof(arr[0]); func(arr, n); return 0; } How do you copy an array in C++? In DOS, the maximum length of filename is What will be the plain text corresponding to ciphered text "rmw " if an affine cipher is used with key values as a=5, b=10?