Difference between static global and global?
Answer Posted / rakesh
Static global has file scope and it can't be accessed
outside of the file.
while global has program scope and can be accessed
outside of file in which it has been defined using extern
keyword.
Is This Answer Correct ? | 139 Yes | 7 No |
Post New Answer View All Answers
Write syntax to define friend functions in C++.
Why c++ is better than c language?
How do you sort a sort function in c++ to sort in descending order?
What does the linker do?
What is c++ course?
What are the general quetions are in DEna bank manager IT/System interviews?
Explain selection sorting. Also write an example.
What is the purpose of template?
What sorting algorithm does c++ use?
Explain the term memory alignment?
Can we use this pointer inside static member function?
Using a smart pointer can we iterate through a container?
What is the use of 'using' declaration in c++?
What does scope resolution operator do?
What is a pointer how and when is it used?