Which one is more efficient in terms of required memory
space call-by-value or call-by-referance?



Which one is more efficient in terms of required memory space call-by-value or call-by-referance?..

Answer / Deepika Kishore

Call-by-reference requires less memory compared to call-by-value because it passes the address of a variable, allowing the function to modify the original variable directly. This avoids creating a copy of the variable, which would consume additional memory in call-by-value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

please kindly send me the details about courses that are offered in nda

1 Answers  


what is the difference a zero argument constructor and a default constructor?

1 Answers  


CSS corp interview process and placement papers

1 Answers   CSS Corp,


hai iam selected in po exam in allahabad bank . my interview date is 02-06-2009. so plese send me some sample question on my email. my email is nitinbikhani@yahoo.com

0 Answers  


can anybody send me the technical papers of hewitt associates pls...I cleared aps n GD n has only less time for technical round?

0 Answers   Hewitt,


what is recursion in c language?

1 Answers  


Let an denote the number of bit strings of length n that do not have two consecutive zeroes. Find a recurrence relation for the number of bit strings of length n that do not have two consecutive zeroes. Hence find a4.

1 Answers  


write an algorithm in O(n) time for finding the kth smaalest element form an array of n elements , where n and k are entered by user

1 Answers  


write the output for yhe given program int a=5; void main() { int a=9; printf("%d",a); } printf("%d",&a);

3 Answers   HCL,


#include<stdio.h> int main(){ int a=5; printf("%d %d %d",a++,a++,++a); return 0; }..please explain me output 7 6 8..Thnx in advance

1 Answers  


a simple compiled code is run on a C compiler as well as java virtual machine. which runs faster and y?

3 Answers   Exilant,


What is the aim of Value Engineering?

1 Answers   BPCL Bharat Petroleum,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)