1
 2
 3
 4
 5
 6
 7
 8
 9
10
#include <stdio.h>

int main(int argc, const char *argv[])
{
    int a = 10;
    int* b = &a;
    printf("a == %d,  b == %p\n", a, (void*)b);
    // void* is just an address to any type.
    return 0;
}

This content is protected and may not be shared, uploaded, or distributed.    © 2019 Alexander J. Quinn.