#include<stdio.h>
#include<conio.h>
void main()
{
int a,*pa;
clrscr();
pa=&a;
*pa=10;
printf("Address of a=%u\n",&a);
printf("Value of a=%d\n",a);
getch();
}
OUTPUT:
Address of a=65524
value of a=10

#include<conio.h>
void main()
{
int a,*pa;
clrscr();
pa=&a;
*pa=10;
printf("Address of a=%u\n",&a);
printf("Value of a=%d\n",a);
getch();
}
OUTPUT:
Address of a=65524
value of a=10
No comments:
Post a Comment