Answer Posted / aavesh yadav
Static functions are functions which can access only static
variables and local variables.It can be called by class
name bcoz it is specific for a class in which it is
defined,not for any specific object of that class.It can
not be inherited also.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What does it mean to declare a member function as static?
What is class and structure in c++?
Why are arrays usually processed with for loop?
What is the main function c++?
What is namespace & why it is used in c++?
What is an iterator class in c++?
Is linux written in c or c++?
What is lambda in c++?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
Can create new c++ operators?
What are static and dynamic type checking?
Difference between overloaded functions and overridden functions
How do you flush a buffer in c++?
Describe protected access specifiers?
Define the process of handling in case of destructor failure?