Question: What are the default storage classes for variables declared as follows: (3m) declared at the top level of a program extern declared as function parameters

  1. What are the default storage classes for variables declared as follows: (3m)
  2. declared at the top level of a program

extern

  1. declared as function parameters

auto

  1. declared as local variables of a function

auto

What is a static variable? (1m)

(ans)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!