GoConqr has a new look! Let us know what you think.

Notes

Untitled

dhf df English 2 pages

Content of the notes (2)

Page 1

Storage Classes are used to describe the features of a variable/function. These features basically include the scope, visibility and life-time which help us to trace the existence of a particular variable during the runtime of a program.

void autoStorageClass()

{

printf("\nDemonstrating auto class\n\n");

// declaring an auto variable (simply

// writing "int a=32;" works as well)

auto int a = 32;

// printing the auto variable 'a'

printf("Value of the variable 'a'"

" declared as auto: %d\n",

a);

printf("--------------------------------");

}

Page 2

void autoStorageClass()

{

printf("\nDemonstrating auto class\n\n");

// declaring an auto variable (simply

// writing "int a=32;" works as well)

auto int a = 32;

// printing the auto variable 'a'

printf("Value of the variable 'a'"

" declared as auto: %d\n",

a);

printf("--------------------------------");

}

Information

Description
Note on Untitled, created by dhf df on 30/07/2019.
Created by
dhf df
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?