yes but that works not because malloc is special but because there are more relaxed types rules than suggested by the comment above.