i used this and it also gives me this warning
so %p is the standard way to do it(although it gives the result in hex).Code:Warning 1 warning C4311: 'type cast' : pointer truncation from 'int *__w64 ' to 'unsigned long'
Printable View
unsigned long long int - 8 bytes (64 bits), C99 henceCode:printf("%llu\n", (unsigned long long int) main);
you can search __w64 type defined in VS includes (which type it bases on)
it is a lengthening only :)