Tag Archives: C

Malloc and Casting

In C, the malloc function is used to allocate memory. Its prototype is: void *malloc(size_t size);void *malloc(size_t size); It returns a void pointer (void *), which indicates that it is a pointer to a region of unknown data type therefore … Continue reading

Posted in Computer Science | Tagged , | 2 Comments

Language C: resources

GNU Coding Standards Here is a link to Thinking in C++ Another complete guide to C (in french) here.

Posted in Computer Science | Tagged | Leave a comment