(struct book*) is pointer typecasting 0 here, so, it doesn't matter it's 0 or 'a' or something else, the end result will always be a pointer to a instance of struct book.