Skip to main content
Engineering LibreTexts

12.7: Exercises

  • Page ID
    35862
  • Exercise \(\PageIndex{1}\)

    Write the code to allocate 1000 bytes of memory.

    Exercise \(\PageIndex{2}\)

    Write the code to allocate space for an array of 500 single precision floating point values.

    Exercise \(\PageIndex{3}\)

    Write the code to free the memory allocated in Exercises \(\PageIndex{1}\) and \(\PageIndex{2}\).