What data structure is fastest, on average, for retrieving data:
a) Binary Tree
b) Hash Table
c) Stack
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between set and map in c++?
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.
Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }
How a new element can be added or pushed in a stack?
What is a constructor initializer list and when we use constructor initializer list?
When do you call copy constructors?
What is the copy-and-swap idiom?
What are the manipulators in c++?
What is pointer to array in c++?
What is command line arguments in C++? What are its uses? Where we have to use this?
What is pure virtual function? Or what is abstract class?
What is operators in c++?