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
How many characters are recognized by ANSI C++?
What is isdigit c++?
Are php strings immutable?
What is else syntax in c++?
What happens when you make call 'delete this;'?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
What is class in c++ with example?
How delete [] is different from delete?
why and when we can declar member fuction as a private in the class?
Why is it necessary to use a reference in the argument to the copy constructor?
Explain the difference between struct and class in terms of access modifier.
Is c++ the most powerful language?
What is abstraction in c++ with example?
Give 10 points of differences between C & C++.
Where must the declaration of a friend function appear?