STL (140)
OOPS (873)
C++ General (2409) If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];
3 6038
If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2. please answer my question ....
What is polymorphism & list its types in c++?
What are the rules for naming an identifier?
Describe the advantage of an external iterator.
What's c++ used for?
What is the fundamental idea of oop?
What is the use of pointer in c++ with example?
Explain function overloading
How come you find out if a linked-list is a cycle or not?
What are the data types in c++?
What is the this pointer?
How delete [] is different from delete?
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
What is the full form of india?
Explain the different access specifiers for the class member in c++.