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
What is c++ array?
What is switch case in c++ syntax?
What are the extraction and insertion operators in c++? Explain with examples.
Explain bubble sorting.
What is a float in c++?
What is atoi?
What is buffer and example?
How can we access protected and private members of a class?
Define pointers?
Describe delete operator?
Why struct is used in c++?
What is lvalue?
How many namespaces are there in c++?
Write is a binary search tree? Write an algo and tell complexity?
How do you define/declare constants in c++?