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 the use of 'this' pointer?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
Can we distribute function templates and class templates in object libraries?
what you know about c++?
Why do we use vector in c++?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What is a forward referencing and when should it be used?
If dog is a friend of boy, is boy a friend of dog?
Is c++ still in demand?
What is a list c++?
How to get the current position of the file pointer?
How will you call C functions from C ++ and vice-versa?
What does extern mean in a function declaration in c++?
give me an example for testing a program showing the test path .show how the test is important and complex.
Define 'std'.