Translations:Development/Tutorials/Common Programming Mistakes/15/en

From KDE TechBase

In pointer context, the integer constant zero means "null pointer" - irrespective of the actual binary representation of a null pointer. Note, however, that if you want to pass a null pointer constant to a function in a variable argument list, you *must* explicitly cast it to a pointer - the compiler assumes integer context by default, which might or might not match the binary representation of a pointer.