Home / MCQ Bank / Computer
Computer Programming Basics Difficulty: Medium

The data type of the R-object becomes the data type of the . . . . . . . .

Select the correct option to test your answer:

More Computer Questions

What will be the output of the given code? boolean_1 = !true puts boolean_1 boolean_2 = !true && !true puts boolean_2 What is the output of the following program? #include<stdio.h> #include<limits.h> int min_jump(int *arr, int len) { int j, idx, jumps[len]; jumps[len - 1] = 0; for(idx = len - 2; idx >= 0; idx--) { int tmp_min = INT_MAX; for(j = 1; j <= arr[idx] && idx + j < len; j++) { if(jumps[idx + j] + 1 < tmp_min) tmp_min = jumps[idx + j] + 1; } jumps[idx] = tmp_min; } return jumps[0]; } int main() { int arr[] ={9, 9, 9, 9, 9, 9, 9, 9, 9},len = 9; int ans = min_jump(arr,len); printf("%d\n",ans); return 0; } In time series analysis, what is the primary objective of "stationarizing" the data? In which mode is the indicator of the presence/absence of a word in search used? What will be the output of the following C++ code? #include <iostream> #include <algorithm> #include <vector> using namespace std; int main () { int myints[]={ 10, 20, 30, 40, 50 }; vector<int> myvector (4, 99); iter_swap(myints, myvector.begin()); iter_swap(myints + 3,myvector.begin() + 2); for (vector<int> :: iterator it = myvector.begin(); it != myvector.end(); ++it) cout << ' ' << *it; return 0; }