Consider the following C program snippet: extern int data; int edata; Which…

Consider the following C program snippet: extern int data; int edata; Which one of the following is correct?

  1. A.

    Both the above statements declare variables

  2. B.

    Both the above statements define variables

  3. C.

    First statement declares data and second statement defines edata

  4. D.

    First statement defines data and second statement declares edata

Sign up free to check your answer

Sign up free

Explore the full course: C Language

Loading lesson…