Difference between static global and global?

Answer Posted / mukesh

global variable is accessed in all file by use extern keyword.while static global only visible in file in which it is declared.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is upcasting in C++?

722


When we use Abstract Class and when we use Interface?where we will implement in real time?

1670


What is meant by iomanip in c++?

612


what are the events occur in intr activated on interrupt vector table

1183


When do we run a shell in the unix system?

566






What are the various oops concepts in c++?

601


What is iostream in c++ used for?

553


What are static type checking?

634


How do you show the declaration of a virtual constructor?

534


Does std endl flush?

613


describe private access specifiers?

645


How do I use turbo c++?

552


What is a c++ map?

664


Can the creation of operator** is allowed to perform the to-the-power-of operations?

582


Differentiate between a constructor and a method in C++.

563