What is data hiding c++?
No Answer is Posted For this Question
Be the First to Post Answer
#include<iostream.h> void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }
show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.
Badboy is defined who has ALL the following properties: 1. Does not have a girlfriend and is not married. 2. He is not more than 23 years old. 3. The middle name should be "Singh" 4. The last name should have more than 4 characters. 5. The character 'a' should appear in the last name at least two times. 6. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What is the use of ::(scope resolution operator)?
What is the main purpose of c++?
Is c++ platform dependent?
How can I learn dev c++ programming?
Write about c++ storage classes?
How do I run a program in notepad ++?
Describe the advantage of an external iterator.
write a program that takes 5 digit no and calculate 2 power that no and print it.
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.