in g++, NULL is defined as __null, in 64-bit case, __null is 8 bytes. such as:
printf("sizeof(__null):%d, sizeof(0):%d
", sizeof(__null), sizeof(0));
sizeof(__null):8, sizeof(0):4
however, where is __null defined?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…