Machine-translated by Google. Questions are authored in English.
Top

Discussion

The .bss section of a program image holds

  • A.static data with non-zero initialisers
  • B.the executable instructions of the program
  • C.the run-time stack of the main thread
  • D.static data initialised to zero

Answer: D

Since every byte is zero there is no need to store it in flash; the start-up code simply clears the region. Variables with non-zero initialisers go in .data, whose initial values are copied from flash to RAM before main runs.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.