What is a scope operator and tell me its functionality?
Answers were Sorted based on User's Feedback
Answer / maya
Operator : :
It used to initalize the static variable out of the class.
Used for global initalization for variables.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / d.raji
scope operator is used to access the uotline function in
c++.
| Is This Answer Correct ? | 0 Yes | 1 No |
swapping program does not use third variable
can you give real time example for polymarphism
difference between static and non-static variables?
What is the advantage of oop over procedural language?
Is oop better than procedural?
write a program to find 2^n+1 ?
What is oop in simple words?
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.
What is the benefit of oop?
who is the father of OPPS
what is namespace? what are the uses of namespace?
Why do pointers exist?