C Pointer Example

Wait What
0





Untitled2.html






#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();
}



Post a Comment

0Comments
Post a Comment (0)
To Top