@yeehaw2685

Returns a void pointer, and you cast it to the appropriate type.

@oscardruke5106

At least he didn't say -1

@MuhammadKhan-g8v9i

An address is returned.
Addressed are returned as pointers.

@Ivsti831

Malloc doesnt know the type so it returns a void* type memory address that you can cast to anytype you need it to be

@VeryZen

Man, I've been a software engineer for 40 years, it's so broad you could easily make me look stupid by specific questions.

This guy is bullshit and not nearly as clever as he presents himself to be.

@vuufke4327

https://youtu.be/bB3AhVu5lxg
appropriate music

@Greenmonkey552

Or you can just use a high-level language and not worry about this pointless stuff