GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Ohne Titel

dhf df Englisch 2 Seiten

Inhalt der Notizen (2)

Seite 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("--------------------------------");

}

Seite 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("--------------------------------");

}

Informationen

Beschreibung
Notiz am Ohne Titel, erstellt von dhf df am 30/07/2019.
Erstellt von
dhf df · Jul 2019
Aktualisiert
30 Jul 2019
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck