Linker Puzzles Discribe Linker Evor int x; pl() {} pl () {} int x; int x; pl() {} p2 () { } int x; double x; int y; p2 () { } pl () {} int x=7; double x; p2 () { } int y=5; p1 () {} int x=7; int x; p1...


For each row (given 2 programs (boxes)). Are global symbols weak or strong? Is there a linker reaction (error)?


Answer for the 1st row: p1 is strong global symbol defined in both programs. Resulting in linker error


Linker Puzzles<br>Discribe<br>Linker Evor<br>int x;<br>pl() {}<br>pl () {}<br>int x;<br>int x;<br>pl() {}<br>p2 () { }<br>int x;<br>double x;<br>int y;<br>p2 () { }<br>pl () {}<br>int x=7;<br>double x;<br>p2 () { }<br>int y=5;<br>p1 () {}<br>int x=7;<br>int x;<br>p1 () {}<br>p2 () { }<br>

Extracted text: Linker Puzzles Discribe Linker Evor int x; pl() {} pl () {} int x; int x; pl() {} p2 () { } int x; double x; int y; p2 () { } pl () {} int x=7; double x; p2 () { } int y=5; p1 () {} int x=7; int x; p1 () {} p2 () { }

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here