React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in C++ by

 What is Static Member?

Click here to read more about DevOps

1 Answer

0 votes
by

Static is a keyword in C++ used to give special characteristics to an element. Static elements are allocated storage only once in a program lifetime in static storage area. And they have a scope till the program lifetime. Static Keyword can be used with following,

Interesting facts about Static Members Functions  in C++

  • static member functions do not have this pointer.
  • A static member function cannot be virtual
  • Member function declarations with the same name and the name parameter-type-list cannot be overloaded if any of them is a static member function declaration.
  • static member function can not be declared const, volatile, or const volatile.

Related questions

Madanswer
+1 vote
asked Jul 16, 2019 in C++ by Indian
+1 vote
asked Jul 16, 2019 in C++ by Indian
+1 vote
asked Jul 16, 2019 in C++ by Indian
+1 vote
asked Jul 16, 2019 in C++ by Indian
+1 vote
asked Jul 16, 2019 in C++ by Indian
+1 vote
+1 vote
asked Jul 16, 2019 in C++ by Indian
...