Answer Posted / aravind
Extern is nothing but a memory storage type.If we declare extern before the function than the variable can be accessed by that function not only locally but externally too.
extern int a=4
Int fun (int x)
{
x=a;
print gives a=4
Is This Answer Correct ? | 8 Yes | 19 No |
Post New Answer View All Answers
What is meant by type specifiers?
Are the variables argc and argv are local to main?
What is array in c with example?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Is c dynamically typed?
Who developed c language?
What are the types of data types and explain?
What is realloc in c?
Explain what is gets() function?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
write a program to generate address labels using structures?
What is static volatile in c?
What is .obj file in c?
Is there any demerits of using pointer?
Why calloc is better than malloc?