Cloudbook: C

  1. Home
  2. Variables
  3. Modeling ← prevnext →
Modeling
  1. C offers a hardware-aware memory model. Memory is a sequence of bytes. A location is a consecutive sequence of properly aligned bytes. A variable is a pairing of location to a name. The name is said to be bound to the location. more ...

    LiveC: "It's like you're unraveling a big cable-knit sweater ..." more ...

    Multimedia presentation goes here.
  2. The essential properties of a variables are its type, scope and lifetime.

    A type is a collection of values and operations defined on those values. A variable is a memory location capable of storing and retrieving a value of a specific type. more ...

    LiveC: Store and print your favorite number. more ...

    Multimedia presentation goes here.
  3. The scope of a variable is the region on the text in which that variable name is known. more ...

    LiveC: Mystery code: what does it do? more ...

    Multimedia presentation goes here.
  4. The lifetime of a variable is the extent of time during which the variable location is allocated. more ...

    LiveC: "It's like you're unraveling a big cable-knit sweater ..." more ...

    Multimedia presentation goes here.
Copyright 2015, 2017 Burt Rosenberg. All Rights Reserved.