Home / MCQ Bank / Computer
Computer Microsoft Word Difficulty: Medium

What is MS Word?

Select the correct option to test your answer:

More Computer Questions

What is the time complexity of the following iterative implementation used to find the largest and smallest element in an array? #include<stdio.h> int get_max_element(int *arr,int n) { int i, max_element = arr[0]; for(i = 1; i < n; i++) if(arr[i] > max_element) max_element = arr[i]; return max_element; } int get_min_element(int *arr, int n) { int i, min_element; for(i = 1; i < n; i++) if(arr[i] < min_element) min_element = arr[i]; return min_element; } int main() { int n = 7, arr[7] = {1,1,1,0,-1,-1,-1}; int max_element = get_max_element(arr,n); int min_element = get_min_element(arr,n); printf("%d %d",max_element,min_element); return 0; } What keyword is used to declare a method that can be called without creating an instance of the class? Which of the following should e used when you want to add a slide to an existing presentation? In C++, which access specifier allows the members of a base class to be accessible in the derived class, but not from outside the class? Which of the following is called a one-line description of the package?