What is the difference between static global and global ?
Answers were Sorted based on User's Feedback
Answer / leossk
Scope of the static variable is limited to that file, while
global is for all the files in that project space.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shakti singh khinchi
Scope of static variable is limited to different function
calls for a file, whereas global variable exists in multiple
files.
| Is This Answer Correct ? | 2 Yes | 0 No |
Which is not a valid keyword a) public b) protected c) guarded
What is a character in c++?
Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
What is the difference between an external iterator and an internal iterator?
Explain how an exception handler is defined and invoked in a Program.
What is a "RTTI"?
How would you use the functions memcpy(), memset(), memmove()?
What is the difference between a definition and a declaration?
Explain the differences between private, public and protected and give examples.
What is a c++ map?
Is there anything you can do in C++ that you cannot do in C?