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
Does a derived class inherit or doesn't inherit?
What is virtual destructor? What is its use?
What sorting algorithm does c++ use?
What are the effects after calling the delete this operator ?
What is the precedence when there is a global variable and a local variable in the program with the same name?
Which one is a preferred language C or C++? Why?
What is static in c++?
What is pure virtual function?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
Explain public, protected, private in c++?
What are the advantages of early binding?
Is c++ an oop?
What return value must conversion operators have in their declaration?
When do we run a shell in the unix system? How will you tell which shell you are running?
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}