Home

Search IconIcon to open search

C (language)

# Resources

# Useful stuff

#todo too many!

# Useful tools

# Random notes

NULL pointer in GNU compiler (gcc) is guaranteed to be equal to 0 (see this page). Also NULL can be put into free(). malloc(0) may return a unique pointer or NULL.

You can include stddef.h instead of stdlib.h for NULL and size_t.

You can declare an enum inside of a struct. It will act the same as if it was defined in the outer scope.

# #todo