A variable created inside a function is:

  1. constant
  2. global
  3. static for the whole program
  4. local
Answer

D) local

It exists only inside that function. SLO CS-11-C-06

Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise