C Program to display value using star operator in pointers
Program
#include<stdio.h>
void main()
{
int a = 8;
printf("Value of i = %d\n", a);
printf("Address of i = %u\n", &a);
printf("Value of i = %d\n", *(&a));
}
Output
Value of i = 8
Address of i = 2762259916
Value of i = 8