Multiple choice

The variables have ___ scopes.

  1. two

  2. one

  3. three

  4. none of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In C, variables generally have two primary scopes: local scope (within a function or block) and global scope (accessible throughout the program).