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 iomanip c++?
What is flush c++?
What is the this pointer?
Discussion on error handling of C++ .
What is searching? Explain linear and binary search.
What is setw manipulator in c++?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
If there are two catch statements, one for base and one for derived, which should come first?
What is #include ctype h in c++?
What is time_t c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
Can we distribute function templates and class templates in object libraries?
Why iomanip is used in c++?
Explain terminate() function?
What is a class definition?