Ask Question
12 September, 22:41

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. 12 September, 22:45
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers