In Memory

Variables in memory - overview

  • Politechnika Śląska
  • dr inż. Piotr Fabian
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 525

Variables in memory • Each variable is stored somewhere in the memory • The address of a variable...

Passing values to functions

  • Politechnika Śląska
  • dr inż. Piotr Fabian
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 532

a pointer to it - the function will modify this place in memory - the caller must provide the address of the...

Pointers vs multidimensional arrays

  • Politechnika Śląska
  • dr inż. Piotr Fabian
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 511

integers - the location of a[row,col] in memory: initial_address + 20 * row + col - b is only an array of...

Unions - overview

  • Politechnika Śląska
  • dr inż. Piotr Fabian
  • Fundamentals of Computer Programming
Pobrań: 0
Wyświetleń: 784

to save memory • The compiler takes care about alignment of objects in memory • Syntax: similar...