Consider a program P that consists of two source modules M1andM2 contained in two different files. If M1 contains a reference to a function defined in M2, the reference will be resolved at
A
Compile-time
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Link-time
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Edit-time
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Load-time
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B Link-time Modules may be compiled separately and all linking between references is made at link time.