Answer Posted / sanish joseph
If we r using Static functions all the objects will get only
a single copy of dat function,means der wil b only one copy
of dat function.
static functions will contain only static variables.
| Is This Answer Correct ? | 17 Yes | 27 No |
Post New Answer View All Answers
When do you call copy constructors?
What is scope resolution operator in c++ with example?
Explain the properties and principles of oop.
What is constant in c++ with example?
How is modularity introduced in C++?
What are advantages of using friend classes?
Do vectors start at 0?
How a modifier is similar to mutator?
What are the types of array in c++?
What is difference between array and vector in c++?
Why do we use classes in programming?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
Can I learn c++ as my first language?
What is switch case in c++ syntax?
What is namespace std; and what is consists of?