Suppose on my platform sizeof(int)==sizeof(void*) and I have this code:
printf( "%p", rand() );
Will this be undefined behavior because of passing a value that is not a valid pointer in place of %p?
Suppose on my platform sizeof(int)==sizeof(void*) and I have this code:
printf( "%p", rand() );
Will this be undefined behavior because of passing a value that is not a valid pointer in place of %p?