¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Sin título

dhf df Inglés 2 páginas

Contenido del apunte (2)

Página 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("--------------------------------");

}

Página 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("--------------------------------");

}

Información

Descripción
Apunte sobre Sin título, creado por dhf df el 30/07/2019.
Creado por
dhf df
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?