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 |
How do you save a c++ program?
What is virtual methods?
What is the output of printf("%d")?
58 Answers CTS, HCL, Infosys, TCS, Winit, Wipro,
Can we use struct in c++?
What is stl containers in c++?
Please explain the reference variable in c++?
State the difference between pre and post increment/decrement operations.
What are abstract data types in c++?
State two differences between C and C++.
Explain differences between new() and delete()?
What does override mean in c++?
Define virtual constructor.