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
The game of hangman may have originated in the Victorian era, and involves trying to guess a word by suggesting letters. The game is played as follows: A word is chosen and the pl

New App Production company is seeking an organized and highly accomplished design team to prepare the first (and potentially more) of my companies' App concepts, intended completel

write aprogram for random -search to implement if a[i]=x;then terminate other wise continue the search by picking new randon inex into a

Example of structure: struct item {                 int element;                 node_ptr next; }; typedef node_ptr stack; stack create(void) {

Create the following program or propose one of your own. The program must include at least one of each of the following. Decision structure Repetitive structure fu


how c program starts executing?


Write a sequence of instructions that transfers data from memory to an external I/O device by using channel 3 of the 8237 DMA controller. Transfer from 20000H-20FFFH.

1. The shell must support the following internal commands: i. cd - Change the current default directory to . If the argument is not present, report the current directory. If t