Select the correct option to test your answer:
More Computer Questions
The arranging of data in a logical sequence is called
What will be the output of the following C code? #include <stdio.h> int main() { int a[4] = {1, 2, 3, 4}; void *p = &a[1]; void *ptr = &a[2]; int n = 1; n = ptr - p; printf("%d\n", n); }
. . . . . . . . facilitates installation of Hadoop across any number of hosts.
What will be the output of the following C++ code? #include <iostream> #include <Valarray> using namespace std; int main() { Valarray<int> varr = { 1, 2, 3, 4, 5 }; for (int &x: varr) cout << x << " "; cout<<endl; varr = varr.cshift(-3); for (int &x: varr) cout << x << " "; return 0; }
What will be the output of the following C code? #include <stdio.h> int main() { int i = 0, j = 0; for (i; i < 2; i++){ for (j = 0; j < 3; j++) { printf("1\n"); break; } printf("2\n"); } printf("after loop\n"); }