write a 'c' program to implement call by address.
Answers
Answered by
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
Science,
3 months ago
Math,
3 months ago
Environmental Sciences,
3 months ago
Math,
6 months ago
Political Science,
10 months ago
Political Science,
10 months ago
Physics,
10 months ago