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
To implement a back account system for new users

Create a program WordCount1Main.java doing the following:  For each word in the le word.txt { Create an object of the class Word { Add the object to a set of the type java.uti

Write a C program to input your full forename and full surname. e.g James McCarren and display in one string your complete initial and surname i.e J McCarren . Your initial should

Can you think of a condition where your program would crash without attaining the breakball, which you set at the straining of main()? A: C++ let for dynamic initialization of g


write a program to accept ten numbers and display the total

Make QtAV Videoplayer simple integrateable for Qt Applications Project Description: I'm preparing an application for Windows and Mac using QtCreator. I want a videoplayer

When I develop a destructor, do I require to explicitly call the destructors for my member objects?

write c++ program to decode the given code. in mobile keypad the integers from 1 to 9 will display the characters from a to z and 0 will assign a space

Templates permit to create generic functions that admit any data type as parameters and return value without having to overload the function with all the possible data types. Until