#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,*b;
b=&a;
printf("the value of a= %d\n",a);
printf("the address of a is: %d\n",b);
printf("the value of *b is: %d",*b);
getch();
}
#include<conio.h>
void main()
{
int a=5,*b;
b=&a;
printf("the value of a= %d\n",a);
printf("the address of a is: %d\n",b);
printf("the value of *b is: %d",*b);
getch();
}
No comments:
Post a Comment