what is difference between static and non-static variables
Answer Posted / udit rawat
static variable take memory first at linking and loading time
while non static variable take memory at compile time
| Is This Answer Correct ? | 35 Yes | 11 No |
Post New Answer View All Answers
Does c++ have foreach?
Can we define a constructor as virtual in c++?
Can we run c program in turbo c++?
what are Access specifiers in C++ class? What are the types?
What does ctime() do?
Explain the difference between c++ and java.
What does it mean to declare a destructor as static?
What is the main purpose of overloading operators?
What is c++ hash?
Why is main an int?
How do I download c++?
To which numbering system can the binary number 1101100100111100 be easily converted to?
How is data hiding achieved in c++?
Is dev c++ free?
What do you mean by vtable and vptr in c++?