what is difference between static and non-static variables
Answer Posted / sengar
static variable will not be change value all time but non
static value can be changed according requirement .
without giving any value static variable automatically
initialize by zero but in non-static case not the same
case.
Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Differentiate between an array and a list?
What is iomanip c++?
What are the various access specifiers in c++?
How do I tokenize a string in c++?
What is the use of endl in c++ give an example?
What is a pdb file?
How many static variables are created if you put one static member into a template class definition?
Explain how overloading takes place in c++?
List the merits and demerits of declaring a nested class in C++?
What is encapsulation in c++?
what you know about c++?
Can comments be nested?
Describe Trees using C++ with an example.
Is c++ the hardest programming language?
Tell me what are static member functions?