engineering computer science MCQ #2123

What does `extern int x;` mean?

engineering computer science MCQ #2123

  1. Question 1

    Q1. What does `extern int x;` mean?

    • A) x is defined elsewhere
    • B) x is a local variable
    • C) x is a constant
    • D) x is not accessible

    Answer: x is defined elsewhere

    Explanation: Extern keyword declares a variable defined elsewhere, typically in another file. NET computer science MCQs often test this core concept.