What are the static members and static member functions?



What are the static members and static member functions?..

Answer / hrpynux@gmail.com

A static member function can only access static data member, other static member functions and any other functions from outside the class. Static member functions have a class scope and they do not have access to the this pointer of the class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is virtual table?

0 Answers  


Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.

0 Answers   CIIT Wah,


what is the use of void main() in C++ language?

0 Answers  


What is iterator in c++?

0 Answers  


We use library functions in the program, in what form they are provided to the program?

0 Answers  






What is #include iostream h in c++?

0 Answers  


Is turbo c++ free?

0 Answers  


What is the difference between the indirection operator and the address of oper-ator?

0 Answers  


Which operations are permitted on pointers?

0 Answers  


Badboy is defined who has ALL the following properties: 1. Does not have a girlfriend and is not married. 2. He is not more than 23 years old. 3. The middle name should be "Singh" 4. The last name should have more than 4 characters. 5. The character 'a' should appear in the last name at least two times. 6. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1 Answers  


What do you mean by function pointer?

0 Answers  


What problems might the following macro bring to the application?

0 Answers  


Categories