pointer : Introduction
#include <stdio.h>
int main()
{
int a = 12;
int *P;
int p = &a;
printf(" Real value of a= %d\n" , a);
printf(" memory location of a= %u\n" , &a);
printf(" value of memory address of a= %u\n" , *(&a));
printf(" memory location of p= %u\n" , &p);
printf(" value of memory address of p= %u\n" , *(&a));
// printf(" value of memory address of p= %u\n" , *p);
return 0;
}
Comments
Post a Comment