what is difference between static and non-static variables
Answer Posted / sv
static variable retains its value like a global variable,
but visible with in the scope.
While non static variable will not be retained one it come
out of the scope or block. Again the visibility is local to
the block.
| Is This Answer Correct ? | 53 Yes | 8 No |
Post New Answer View All Answers
If a header file is included twice by mistake in the program, will it give any error?
Is c++ still in demand?
What you know about structures in C++?
What is size of string in c++?
What is rtti in c++?
What is the best c++ book?
Can we use this pointer in a class specific, operator-overloading function for new operator?
What do nonglobal variables default to a) auto b) register c) static
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
Which software is best for c++ programming? Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over? What are the types of pointer? What is general format for a prototype? What is capacity in vector in c++? Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?