I have the following code snippet. This is a c file in visual studio 2010. If i try to compile this with the line: int hello = 10; commented out it will compile just fine. If
typecasting a malloc return pointer in C is a bad practice and has undefined results.
malloc