What does it mean to declare a function as a static, C/C++ Programming

(c) A static member function can access static member data only, static member functions and functions and data outside the class. A static member function may be called, even while a class is not instantiated. A static member function can't be declared virtual. A static member function cannot encompass access to the 'this' pointer of the class.

 

Posted Date: 3/21/2013 7:38:09 AM | Location : United States







Related Discussions:- What does it mean to declare a function as a static, Assignment Help, Ask Question on What does it mean to declare a function as a static, Get Answer, Expert's Help, What does it mean to declare a function as a static Discussions

Write discussion on What does it mean to declare a function as a static
Your posts are moderated
Related Questions
please help me get all the inbuilt functions in c++

Write a function that computes f(x) for a quadratic polynomial in x, such as the one in assignment 3. Use the function to plot f(x) from -10 to +10.

write an algorithm for multiplication of two sparse matrices using linked lists

6#666#665533999 where # is used as space.output is monkey

I need help programing this... In this exercise, you will create a program for the sales manager at Computer Haven, a small business that offers motivational seminars to local comp


Can I drop the [] while deleteing array of some built-in type (char, int, etc)? A: No. you can't Sometimes programmers think that the [] in the delete[] p only present so the

In the Byteland country a string "s" is said to super ascii string if and only if count of each charecter in the string is equal to its ascci value in the byteland country ascii co

what is the syntax to get a coloured output.

Develop a Student class that has the following header file: #ifndef STUDENT_H #define STUDENT_H #include #include #include using namespace std; class Stu