Why not to cast malloc in C whereas do cast in C++?

Viewed 84

This post says that one should cast malloc in C++, but should not in C. AFAIK they both are strictly typed. Why is there such difference between C and C++ concerning casting malloc or calloc?

0 Answers
Related