Minggu, 13 November 2016

What are the different types of storage classes in C programming

The storage classes specify the scope and lifetime of a variable in a C program. The scope (active) specifies in which parts of the program is the variable accessible and the lifetime (alive) specifies how long a variable is available in the memory so that the program will be able to access that variable. There are four storage classes in C. They are: auto register extern static The storage classes’ auto, register and static can be applied to local variables and the storage classes’ extern and static can be applied to global variables. auto When a variable is declared with

The post What are the different types of storage classes in C programming appeared first on Coding Security.


What are the different types of storage classes in C programming
read more

Tidak ada komentar:

Posting Komentar