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
Why we use void main in c?
How are structure passing and returning implemented?
Explain null pointer.
What is oops c?
Is it better to bitshift a value than to multiply by 2?
Explain what does the function toupper() do?
How arrays can be passed to a user defined function
Is boolean a datatype in c?
Why do we use namespace feature?
Lists the benefits of c programming language?
What is a ternary operator in c?
What will be your course of action for a push operation?
What is the data segment that is followed by c?
What is a pointer in c plus plus?
Is linux written in c?