#include<stdio.h>
#include<conio.h>
void main(){
int x=50 ,*p;
p=&x;
printf("The address of x is :%d\n",&x);
printf("The value of x is :%d",x);
printf("The address of p is :%d\n",p);
printf("The value of p is :%d\n",*p);
getch();
}
#include<stdio.h>
#include<conio.h>
void main(){
int x=50 ,*p;
p=&x;
printf("The address of x is :%d\n",&x);
printf("The value of x is :%d",x);
printf("The address of p is :%d\n",p);
printf("The value of p is :%d\n",*p);
getch();
}
0 Comments