Difference between static global and global?
Answer Posted / rakesh
Static global has file scope and it can't be accessed
outside of the file.
while global has program scope and can be accessed
outside of file in which it has been defined using extern
keyword.
Is This Answer Correct ? | 139 Yes | 7 No |
Post New Answer View All Answers
Why is c++ still best?
What are static variables?
What is a volatile variable in c++?
What is object in c++ wikipedia?
What is the rule of three?
What is abstraction with real time example?
Why do we use double in c++?
How does com provide language transparency?
Is c++ pass by reference or value?
What are friend classes? What are advantages of using friend classes?
Explain explicit container.
What is lambda expression c++?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
What is the purpose of ios::basefield in the following statement?
Can a program run without main function?