a=123.456000 *pa=123.456000
Comments:
Pointers can point to anywhere in memory,
including variables of type double
.
#include <stdio.h> int main( void ) { double a = 123.456 ; double *pa = &a ; printf("a=%lf *pa=%lf\n", a, *pa ); system("pause"); return 0; }