Computer Science, asked by goldy735, 6 months ago

write a 'c' program to implement call by address.​

Answers

Answered by abhishekdubey13
1

Answer:

#include <stdio.h>

void calladdress(int *x)

{

*x=*x+10;

}

int main()

{

int a=10;

printf("a value = %d\n",a);

calladdress(&a);

printf("After function calling : a value = %d",a);

return 0;

}

Similar questions