Difference between static global and global?
Answer Posted / nischal bansal
Static global variable can be used only in the file, it is
declared whereas global variable can be used in other files
also. we have to include the file, in which we have
declared the variable
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Why do we use structure in c++?
Can we use clrscr in c++?
Which one is a preferred language C or C++? Why?
Differentiate between late binding and early binding. What are the advantages of early binding?
What is prototype for that c string function?
What are shallow and deep copy?
What is the difference between ++ count and count ++?
How do c++ struct differs from the c++ class?
How would you obtain segment and offset addresses from a far address of a memory location?
In a function declaration what does extern means?
What is constructor in C++?
What is a buffer c++?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
What is the best free c++ compiler for windows?