Can some one tell me that global variable are static bydefault or not?
Neelam_1 0 Newbie Poster
Recommended Answers
Jump to Post— Ancient Dragon 5,243The default is non-static.
Jump to Post— Adak 419If you know that all global variables, with no storage class mentioned, are
1) kept until the end of the program.
and
2) available to your program in any function, without using a parameter.
and
3) may be overshadowed or covered, by a local variable with the same name, in …
All 6 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Neelam_1 0 Newbie Poster
Adak 419 Nearly a Posting Virtuoso
Neelam_1 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Neelam_1 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.