What does int *p = (int*) 60 mean?

Viewed 13224
#include <stdio.h>

int main()
{
    int *p = (int*) 60;    --- Line 1
    int *q = (int*) 40;    --- Line 2
    printf("%d", p-q);    //Output is 5
    return 0;
}

Could anybody please explain to me the output of this program?

6 Answers
Related