Home / MCQ Bank / Computer
Computer Miscellaneous On Data Structures Difficulty: Medium

Playfair cipher is an example of . . . . . . . .

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C++ code? #include <iostream> using namespace std; class number { int i; public: int geti(); void puti(int j); }; int number::geti() { return i; } void number::puti(int j) { i = j; } int main() { number s; s.puti(10); cout << s.geti( ); return 0; } Which was the first web browser? _________ is the incoming e-mail server. What is the output of the following code? #include<iostream> using namespace std; void printArray(int p[], int n) { for (int i = 0; i <= n-1; i++) cout << p[i] << " "; cout << endl; } void func1(int n) { int p[n]; int k = 0; p[k] = n; while (true) { printArray(p, k+1); int rem_val = 0; while (k >= 0 && p[k] == 1) { rem_val += p[k]; k--; } if (k < 0) return; p[k]--; rem_val++; while (rem_val > p[k]) { p[k+1] = p[k]; rem_val = rem_val - p[k]; k++; } p[k+1] = rem_val; k++; } } int main() { int n=3; func1(n); return 0; } A part of database that stores only one type of data is