Chapter 10

Storage Class

CHAPTER OUTLINE
10.1 INTRODUCTION

The variables declared in C programs are totally different from 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 specific part or block of the program. Remaining block or other function cannot access to the variable. The area or block of the C program from where the variable can be accessed is known as the Scope of variable. The area or scope of the variable depends on its storage class, that is, where and how it is declared. There are four scope variables: ...

Get Computer Programming and IT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.