How can you pass a variable by reference?
- Arpita Panigrahi
- Query: 16 / Answer: 18
- Bikram Sahoo
- Query: 18 / Answer: 29
To be able to pass a variable by reference, we use an ampersand in front of it, as follows $var1 = &$var2
-
- Information
-
About Forum
This educational forum is produly developed by betaQsolutions-A leading software company in Odisha. This forum is developed to discuss the educational topics only betweeen the Students, teachers, Parents & Experts. Topic related to Career, Syllabus, Subjects, Questions, Exams etc are allowed to discuss here.
-
Statistics
Total topics 43 • Total Query 1114 • Total members 247 • Total Answered 1285