329 views
1 votes
1 votes
i, j; int;

void P(x:int)

{

printf(x+10);

i=10;

j=20;

printf(x);

}

void main()

{

i=50;

j=60;

P(i+j);

}

 

o/p =

call by name=

call by text=

call by need=

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
Arun Rout asked Jan 7, 2019
697 views
#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
0 votes
1 answer
2
Balaji Jegan asked Nov 15, 2018
1,301 views
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 votes
0 answers
3
Rahul_Rathod_ asked Oct 3, 2018
522 views
from below list of parameter passing techniques, which parameter passing technique we can implement in c?1) call by value2) call by refference3) call by value result4) ca...
0 votes
0 votes
0 answers
4
Hira Thakur asked Sep 13, 2018
299 views
why we use parameter passing technique in C??ORpurpose of using "parameter passing technique"??ORwhat is the advantage of using it in C??