why all c++ program must have default constructor?
Answer Posted / ashutosh shashi
To initialized objects of class, if you do not create your
own.Its a inbuilt feature of C++ compiler.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Does c++ have string data type?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
What is the best it certification?
What is a null object in c++?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
Why do we learn c++?
What is buffer and example?
Refer to a name of class or function that is defined within a namespace?
What is the use of "new" operator?
what is data abstraction in C++?
What is a catch statement?
How a pointer differs from a reference?
How do you print a string on the printer?
Is swift faster than c++?
What is c++ array?