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
Explain the purpose of the keyword volatile.
Are there any special rules about inlining?
What are the uses of pointers?
Which ide is best for c++?
What are the advantages of pointers?
What is the difference between prefix and postfix versions of operator++()?
What is std :: flush?
How would you use the functions memcpy(), memset(), memmove()?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What is the use of endl?
What is general form of pure virtual function? Explain?
What does std :: flush do?
When does a name clash occur in c++?
Is java made in c++?
What is the use of volatile variable?