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
What is #include cstdlib in c++?
Define what is constructor?
What is an undefined behavior and sequence points
What is the difference between the functions memmove() and memcpy()?
What are associate containers?
What is setf in c++?
What methods can be overridden in java?
Where can I run c++ program?
What is the basic structure of a c++ program?
What is the difference between method overloading and method overriding in c++?
What are c++ storage classes?
What are the comments in c++?
Explain some examples of operator overloading?
To what does “event-driven” refer?
How are pointers type-cast?