#include<stdio.h>
#include<conio.h>
int pointer (int *a);
int main()
{
int a=2;
pointer(&a);
printf("the sum is: %d",a);
}
int pointer (int *b)
{
*b=*b+10;
}
#include<stdio.h>
#include<conio.h>
int pointer (int *a);
int main()
{
int a=2;
pointer(&a);
printf("the sum is: %d",a);
}
int pointer (int *b)
{
*b=*b+10;
}
0 Comments