What will happen in the following C++ code? extern void display(); int main() { display(); }
- Program runs successfully
- Compile-time syntax error
- Undefined reference (linker error)Answer
- Infinite loop
Source: OTHER HEC NSCT — 4 Apr 2026found on TestPoint
Explanation coming soon.
