Sail E0 Webinar
Question

If the definition of the external variable occurs in the source file before its use in a particular 

function, then there is no need for an extern declaration in the function.


Options:
A .  True
B .  False
Answer: Option A

True, When a function is declared inside the source file, that function(local function) 

get a priority than the extern function. So there is no need to declare a function as 

extern inside the same source file.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers