If the static variable is declared as global,
will it be same as extern?
Answer / venkat
static :if i declare the static varible as global that
variable i can acces only with in the file (i.e i can't
access that variable from other file )
extern :if the varible i declared as extern than that extern
variable i can acces from other file also
| Is This Answer Correct ? | 29 Yes | 4 No |
What is memory leak in c?
What is the Lvalue and Rvalue?
what is the advantage of software development
What is the difference between strcpy() and memcpy() function in c programming?
When a c file is executed there are many files that are automatically opened what are they files?
What is the use of a static variable in c?
Who invented b language?
How to develop software using "c" programming?
Why pointers are used in c?
wt is d full form of c
how to find string length wihtout using c function?
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.