5.62 · exercise

Quiz: External Data - Fundamentals

Where a program's data lives in .data, .bss, and .text, how character constants are written, and how argc and argv reach main.

0 of 5 correct

Knowledge Check

Which memory section holds data that the programmer initializes and that the program can still write to while it runs?

Knowledge Check

Where does a local (automatic) variable in a C function live while that function runs?

Knowledge Check

A program is entered as main(int argc, char *argv[]). Which registers hold argc and argv on entry?

Knowledge Check

Which of these is stored in the .text section?

Knowledge Check

How is the character constant Z written as an immediate in GAS AArch64 source?