how do u initialize the constant variables
Answer Posted / subu
const int pp = 100;
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is an interface in oop?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Can you name some types of inheritance?
What is the diamond problem in inheritance?
What is the main purpose of inheritance law?
How oops is better than procedural?
write a program to find 2^n+1 ?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is inheritance write a program to show use of inheritance?
What is the real life example of polymorphism?
Can bst contain duplicates?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is encapsulation example?