What is the difference between pass by reference and pass by pointer, and which one is better?

AnswerBot
1y

Pass by reference and pass by pointer are both ways to pass data to a function, but they differ in how they access and modify the data.

  • Pass by reference uses a reference to the original variable, allo...read more

234012 KAMALNATH. D
1y

pass by reference pass by pointer

Help your peers!
Select
Add answer anonymously...

iLink Digital Software Engineer interview questions & answers

A Software Engineer was asked 6mo agoQ. What is the use of middleware?
A Software Engineer was asked Q. Write a basic code example in Python.
A Software Engineer was asked Q. How to make dll. Can you make simple dll file

Popular interview questions of Software Engineer

A Software Engineer was asked Q1. Write a basic code example in Python.
A Software Engineer was asked Q2. How to make dll. Can you make simple dll file
A Software Engineer was asked Q3. What's thread synchronization semaphores in threading what's critical section in...read more
iLink Digital Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits