Recent questions tagged parameter-passing

0 votes
1 answer
6
#include<stdio.h>int fun(int arr[]){ arr=arr+1; printf("%d",arr[0]);}int main(void){ int arr ={10,20}; fun(arr); printf("%d",arr[0]); return 0;}A.COMPIL...
0 votes
1 answer
8
Predict the Output for both the snippets for the following:1. Call by Value2. Call by Reference3. Call by Need4. Call by Name5. Call by value Result/Call by value Return(...
0 votes
0 answers
9
0 votes
0 answers
10
why we use parameter passing technique in C??ORpurpose of using "parameter passing technique"??ORwhat is the advantage of using it in C??
0 votes
0 answers
11
What is the output.My doubt is : What is meant by call by copy restore ? is it same as call by reference or there is some difference ?
0 votes
0 answers
12
Does C support all passing parameters techniques like call by text, call by copy restore, and call by name?
0 votes
0 answers
16
0 votes
2 answers
21
The default parameter passing mechanism of functions is A) Call by ValueB) Call by ReferenceC) Call by ResultD) None of the above
1 votes
1 answer
24
1 votes
2 answers
26