#include <stdio.h>

int main(void) {
    float data[6] = { 10.1, 20.2, 30.3, 40.4, 50.5 };
    float *p;
    // (1)
    p = data;
    while(*p) {
        printf("%f\n", *p);
        p++;
    }
    // (2)
    p = data;
    while(*p) {
        printf("address of %f: %p\n", *p, p);
        p++;
    }
    return 0;
}