adspace
Function calling procedures? and their differences? Why should one go for Call by Reference?
Answer Posted / Manoj Singh Bisht
In C, a procedure is simply another name for a function. The primary difference between call by value and call by reference is that call by value creates a local copy of the passed argument, while call by reference allows the function to directly modify the original variable. Call by reference can be more efficient when dealing with large data structures or when modifying the original variable is necessary. To achieve call by reference in C, one uses pointers.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
ATM machine and railway reservation class/object diagram
Explain the difference between null pointer and void pointer.
In C programming, how do you insert quote characters (‘ and “) into the output screen?
How can I implement sets or arrays of bits?
write a progrmm in c language take user interface generate table using for loop?
What is pointers in c with example?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
Do you know the difference between malloc() and calloc() function?
What is the general form of a C program?
write a program to find out prime number using sieve case?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
will u please send me the placement papers to my mail???????????????????
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?