Answer Posted / anh vu
A static function member can be used to provide utility
functions to a class. For example, with a class representing
calendar dates, a function that tells whether a given year
is a leap year might best be represented as a static
function (DateTime.IsLeapYear). The function is related to
the operation of the class but doesn't operate on particular
object instances (actual calendar dates) of the class.
| Is This Answer Correct ? | 15 Yes | 8 No |
Post New Answer View All Answers
Is facebook written in c++?
What is class syntax c++?
What is microsoft c++ redistributable?
What is a stack? How it can be implemented?
How can a called function determine the number of arguments that have been passed to it?
Explain the auto storage classes in c++.
What are signs of manipulation?
Can comments be longer than one line?
Why is c++ not purely object oriented?
Refer to a name of class or function that is defined within a namespace?
Define a nested class.
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
What operator is used to access a struct through a pointer a) >> b) -> c) *
What are references in c++?
Explain 'this' pointer and what would happen if a pointer is deleted twice?