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
Load-time
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Compile-time
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Link-time
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
Edit-time
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C Link-time Modules may be compiled separately and all linking between references is made at link time.