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 does the error 'Null Pointer Assignment' mean and what causes this error?
what is the use of bitfields & where do we use them?
What does the format %10.2 mean when included in a printf statement?
What is volatile c?
what is the value of 'i'? i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
7 Answers Cadence, JNTU, Zen Technologies,
difference between c and c++
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
What is the difference function call by value & function call by reference?
In c programming language, how many parameters can be passed to a function ?
What is the acronym for ansi?
What are data types in c language?
Taking an example,differentiate b/w loader and linker ?