- Joined
- Dec 5, 2021
- Messages
- 1
- Reaction score
- 0
#include<stdio.h>
void call_value(int b,int *f){
*f = 10*b;
}
int main()
{
int i, c;
printf("enter the value of i");
scanf("%d",i);
call_value(i,&c);
printf("the new value of i is %d",c);
return 0;
}
void call_value(int b,int *f){
*f = 10*b;
}
int main()
{
int i, c;
printf("enter the value of i");
scanf("%d",i);
call_value(i,&c);
printf("the new value of i is %d",c);
return 0;
}