Difference between static global and global?
Answer Posted / veera
hello Sheela u r question is good, but u can access global
static through extern key word in other file,it take the
value but we can,t change the value in that file.
But in case of global variable it's possible to change
the value in other file.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are compilers in c++?
What is the function of I/O library in C++ ?
Declare a class vehicle and make it an abstract data type.
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
List down the guideline that should be followed while using friend function.
Can I learn c++ without knowing c?
Write about the various sections of the executable image?
To what does “event-driven” refer?
What are static member functions?
What is const pointer and const reference?
Explain how we implement exception handling in c++?
Explain the difference between abstract class and interface in c++?
How is data hiding achieved in c++?
How do you clear a set in c++?
How can you link a c++ program to c functions?