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
How do I write a c++ program?
Discuss the possibilities related to the termination of a program before entering the mainq method?
Write about the role of c++ in the tradeoff of safety vs. Usability?
What is the array and initializing arrays in c++?
What is the difference between the functions rand(), random(), srand() and randomize()?
What is difference between n and endl in c++?
What is this weird colon-member (" : ") syntax in the constructor?
What are default parameters? How are they evaluated in c++ function?
What do you understand by pure virtual function? Write about its use?
How long will it take to learn programming?
What do you know about near, far and huge pointer?
We use library functions in the program, in what form they are provided to the program?
What is the difference between ++ count and count ++?
Write about all the implicit member functions of a class?
Explain static and dynamic memory allocation with an example each.