O'Reilly logo

C Programming by Ashok Kamthane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10

Storage Class

CHAPTER OUTLINE
10.1 INTRODUCTION

The variables declared in C programs are different from the ones in other languages. We can use the same variable names in the C program in separate blocks. When we declare a variable, it is available only to the specific part or block of the program. The remaining block or other function cannot access the variable. Variables declared within the function are called as internal variables and those declared outside the function are called as external or global variables.

The area or block of the C program from where the variable can be accessed is known as the ‘scope of the variables’. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required