Home / MCQ Bank / Computer
Computer Hashing Difficulty: Medium

When is it appropriate to use direct addressing?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C code (without linking the source file in which ary1 is defined)? #include <stdio.h> int main() { extern ary1[]; printf("scope rules\n"); } What will be the output of the following C++ code? #include <iostream> using namespace std; void square (int *x) { *x = (*x + 1) * (*x); } int main ( ) { int num = 10; square(&num); cout << num; return 0; } Which statement is correct among the mentioned statements? i. The for loop works faster than a while loop ii. for( ; ; )implements an infinite loop UDP is a What will be the output of the following C code? #include <stdio.h> void main() { float x = 0.1; printf("%d, ", x); printf("%f", x); }