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!
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


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
AmbitionBox Awards
Get AmbitionBox app

