subject

Consider the following program, which consists of two object modules: 1 /* foo6.c */ 2 void p2(void); 3 4 int main() 5 { 6 p2(); 7 return 0; 8 } 1 /* bar6.c */ 2 #include 3 4 char main; 5 6 void p2() 7 { 8 printf("0x%x\n", main); 9 } when this program is compiled and executed on an x86-64 linux system, it prints the string 0x48\n and terminates normally, even though function p2 never initializes variable main. can you explain this?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 07:00
Why would a business likely use a java applet - to back up their data files for the business - to create a program that a customer can launch in their web browser - to create music on a powerpoint presentation - to organize files on their company directory
Answers: 3
question
Computers and Technology, 24.06.2019 17:40
Anewly established internet company with 40 employees needs your advice. they are looking for a collaboration tool and have narrowed their choices to gotomeeting, webex, and my web conferences. after reading the information presented in this chapter and other sources, prepare a two- page document ( double spaced) that includes two advantages and two disadvantages of each tool. which one is your final recommendation? why did you choose that tool over the other two?
Answers: 3
question
Computers and Technology, 24.06.2019 22:00
Is the process of organizing data to reduce redundancy. a. normalization b. primary keying c. specifying relationships d. duplication
Answers: 1
question
Computers and Technology, 25.06.2019 11:30
Janet has created an original musical composition, recorded it on a cd and registered her work online. which law will protect her work from any kind of infringement? a. copyright b. trademark c. patent d. trade secret
Answers: 2
You know the right answer?
Consider the following program, which consists of two object modules: 1 /* foo6.c */ 2 void p2(void...
Questions
question
Mathematics, 21.02.2021 01:20
question
Mathematics, 21.02.2021 01:20
question
History, 21.02.2021 01:20
question
Mathematics, 21.02.2021 01:20
question
Mathematics, 21.02.2021 01:20
Questions on the website: 13722361