Web Work -- week 3 -- linking
Sign in to Google to save your progress. Learn more
Name *
The following questions refer to the code sample below.
1. extern char *optarg;
2. extern int optind
3.
4. main(int argc, char **argv)
5. {
6.      char ch;
7.
8.      while ((ch = getopt(argc, argv, "ABc:C")) != EOF) {
9.              /* Do something useful here. */
10.     }
11.}
1 .In what segment will you find the symbol "main?" *
2. In what segment will you find the symbol "ch?" *
3. In what segment will you find the string "ABc:C?" *
4. In what segment will you find the symbol "optind?" *
5. Which of the following symbols will appear in a relocation segment? *
Check all that apply
Required
6. Elf files do not contain the stack; where would you find them in an executable? *
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report