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
Difference between a homogeneous and a heterogeneous container
Where do I find the current c or c++ standard documents?
Is it possible to write a c++ template to check for a function's existence?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
What is a namespace in c++?
What is the role of copy constructor in copying of thrown objects?
What is flush c++?
What is stoi in c++?
Differentiate between a constructor and a destructor in c++.
What is class syntax c++?
What is c++ map?
Write a Program for find and replace a character in a string.
Write about the retrieval of n number of objects during the process of delete[]p?
How do you decide which integer type to use?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;