282 views

1 Answer

1 votes
1 votes

No, C has strict pass by value semantics. Passing a pointer by value is not passing by reference, the former is one way of implementing the latter.

Related questions

0 votes
0 votes
1 answer
1
Balaji Jegan asked Nov 15, 2018
1,337 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
2
Rahul_Rathod_ asked Oct 3, 2018
531 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
1 answer
3
hacker16 asked Apr 5, 2018
547 views
#include<stdio.h void temp(int a[]); main(){ int a[5]={1,2,3,4,5}; printf("%d", sizeof(a)); temp(a); } void temp(int a[]){ printf(" %d", sizeof(a)); }Output of above code...
0 votes
0 votes
0 answers
4
Rishabh Baghel asked Mar 5, 2018
576 views
Does C support all passing parameters techniques like call by text, call by copy restore, and call by name?