If the static variable is declared as global,
will it be same as extern?
Answer Posted / 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 |
Post New Answer View All Answers
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
Explain what is the benefit of using an enum rather than a #define constant?
c program to compute AREA under integral
Explain how can you be sure that a program follows the ansi c standard?
What is array of structure in c programming?
Differentiate between the = symbol and == symbol?
What is the deal on sprintf_s return value?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What are runtime error?
Why header file is used in c?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What are the types of macro formats?
What is the difference between typedef and #define?
What is the role of && operator in a program code?
What is c language in simple words?