A C program to value and content of variable
December 15, 2018 -
C Program, Computer
// A C program to value and content of variable
#include<stdio.h>#include<conio.h>
void main()
{
clrscr();
int x=2;
int *y;
y=&x;
printf("adress of x=%u",y);
printf("value of x=%d",x);
printf("value of x=%d",*y);
getch();
}
Output:
