How to construct muliton object
Answers were Sorted based on User's Feedback
Answer / som shekhar
Multiton pattern is similar to singleton pattern but it
keeps the named instances in a key value pair.
In singleton pattern, the class will have only one instances
but in the multiton pattern it manages a map of named instances.
Is This Answer Correct ? | 1 Yes | 0 No |
Write a C++ program that asks the user to choose a number between 1 and 1000. Then, your program should be able to guess the number by asking the user no more than 10 yes/no questions. Use a while loop in your program
Write a program that will count the number of digits in an input integer up to value MAX_VALUE (2147483647). Thus, for an input of 5837 the output should be 4 digits Make sure that your program works for the numbers 0, 1, and 10. For the number 0, the output should be 1 digit
Explain how we implement exception handling in c++?
If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?
What is the meaning of string in c++?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
What happens if an exception is throws from an, object's constructor and object's destructor?
What is an explicit constructor?
Why is c++ awesome?
Can we inherit constructor in c++?
What is abstraction c++?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL