Answer Posted / saranya
an array is a collection of elements with same data type.
it can also reduce the storage space
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
What is #include math h in c++?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Explain the concept of copy constructor?
What are the various oops concepts in c++?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What is null and void pointer?
Should I learn c or c++ or c#?
Define pre-condition and post-condition to a member function in c++?
What is a storage class used in c++?
When does the c++ compiler create temporary variables?
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.
How do you show the declaration of a virtual constructor?
What is an associative container in c++?
What are literals in C++?