what is difference between static and non-static variables
Answer Posted / arun kumar
Initialization of static variables is at compile time,
but in case of non-static variables is at run time.
| Is This Answer Correct ? | 6 Yes | 7 No |
Post New Answer View All Answers
What is a unnitialised pointer?
Why Pointers are not used in C++?
What is ctime c++?
Is sorted c++?
What are the types of container classes?
What is the purpose of the "delete" operator?
What is the this pointer?
Difference between Abstraction and encapsulation in C++?
Is rust better than c++?
What is set in c++?
When should we use multiple inheritance?
Why is the function main() special?
Can I learn c++ without c?
What is a constant reference?
What is using namespace std in c++?