Difference between static global and global?
Answer Posted / ravi.g
global static variables have no file scope since they can
not be accessed from other files by using extern keyword
Global variables have the file scope since they can be
accessed from other files using extern keyword
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How does code-bloating occur in c++?
What is linked list in c++?
What is a c++ vector?
What are the differences between the function prototype and the function defi-nition?
Write a c program for binary addition of two 8 bit numbers.
What does n mean in c++?
Why is c++ difficult?
Explain the auto storage classes in c++.
What is difference between c++ 11 and c++ 14?
What are the 3 levels of programming languages?
Describe protected access specifiers?
Write about the members that a derived class can add?
What is a pointer with example?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What is this weird colon-member (" : ") syntax in the constructor?