C

Storage duration (automatic, static, allocated)

Në shqip: Jetëgjatësia e variablave

ShpjegimiSQ

Çdo variabël në C ka një jetëgjatësi: automatike (lokale — zhduket kur mbaron funksioni), static (jeton gjatë gjithë programit) dhe e alokuar (me malloc — jeton derisa ta lirosh me free).

EnglishEN

Every variable in C has a lifetime: automatic (local — gone when the function ends), static (lives for the whole program) and allocated (with malloc — lives until you free it).

Si ta mendosh

Si bileta: ditore (automatike), abonim vjetor (static), ose me qira derisa ta kthesh (malloc).

Lexoje në anglisht

Like tickets: a day pass (automatic), a season ticket (static), or a rental until you return it (malloc).

Terma të lidhur