ABI
C Assignments.docx

7 compiler displays all errors after compilation all

Info icon This preview shows pages 22–23. Sign up to view the full content.

7. Compiler displays all errors after compilation, all at the same time where as Interpreter displays error of each line one by one. 8. The compiler is used in programming languages like C, C++, C#, Scala, etc. On the other Interpreter is employed in languages like Java, PHP, Ruby, Python, etc. Answer 2: Please find the difference between call by value and call by reference below: 1. In call by value, a copy of actual arguments is passed to formal arguments of the called function and any change made to the formal arguments in the called function have no effect on the values of actual arguments in the calling function. On the other hand In call by reference, the location (address) of actual arguments is passed to formal arguments of the called function. This means by accessing the addresses of actual arguments we can alter them within from the called function. 2. 2. In call by value, actual arguments will remain safe, they cannot be modified accidentally where as In call by reference, alteration to actual arguments is possible
Image of page 22

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 23
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '13
  • Anand

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern