Answer Posted / poornima
extern is a keyword that is prefixed in function
declaration. It means tht function definition is in source
file.
for eg.
source file contains int sum(int x,int y) definition part.
To make use of this function in file by simply declare as
extern int sum(int ,int); is a good practice.
But to compiler happy extern sum(); is enough.
| Is This Answer Correct ? | 34 Yes | 16 No |
Post New Answer View All Answers
What is a example of a variable?
Is r written in c?
Explain what are preprocessor directives?
Why should I use standard library functions instead of writing my own?
What is an arrays?
What is assignment operator?
How can type-insensitive macros be created?
what is use of malloc and calloc?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What are qualifiers and modifiers c?
Explain the bubble sort algorithm.
How can I automatically locate a programs configuration files in the same directory as the executable?
What are pragmas and what are they good for?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none