Ask Question
16 August, 13:08

17. Consider a scenario in which you develop a C+ + program on a computer that has a Pentium processor and compile the program into the corresponding machine language. What step should you take to run the same program on a computer that has a different processor?

+1
Answers (1)
  1. 16 August, 15:34
    0
    "There is need to compile the program again on a different processor." is the correct answer for the above scenerio.

    Explanation:

    The c+ + program is a platform-dependent program because it is covered on a machine language directly and machine language programs are dependent programs. While in the case of java programming there is an object code that is converted from the class code and it is compatible with the other machine. The dependent program states the meaning that if a program is developed by the one machine then it can not be executed on the other machine The above question asked about the compiled c+ + program that it can execute on another machine, which answer is no. if a user wants to execute the c+ + program for the other processor then, he needs to compile the program again on the other machine.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “17. Consider a scenario in which you develop a C+ + program on a computer that has a Pentium processor and compile the program into the ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers