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 the meaning of string in c++?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
What does flush do c++?
In what situations do you have to use initialization list rather than assignment in constructors?
How the virtual functions maintain the call up?
What is the function of I/O library in C++ ?
Explain the concept of copy constructor?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What is the use of volatile variable?
Is c++ map a hash table?
Write bites in Turbo c++ Header ("Include") Files.
Is c++ a pure oop language?
How should a contructor handle a failure?
Can we make copy constructor private in c++?
How can you create a virtual copy constructor?