Q:

How to use a variable in a source file that is defined in another source file?

0

How to use a variable in a source file that is defined in another source file?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

Using the “extern” keyword we can access a variable from one source file to another.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Embedded C interview questions and answers (2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Can static variables be declared in a header file?... >>
<< How will you protect a pointer by some accidental ...