c – C Programming Language

C has inspired various other languages. Languages that are extensions of C include C++ and Objective-C.

Major interpreters and virtual machines written in C:

Major operating systems written in C:

Major systems writtin in C:

You really should know C. I recommend learning C before C++ or Objective-C.

Memory

Memory management is what makes C (and C++) a significantly different beast. Precautions must be taken, even by programmers transitioning from C++.

Use malloc to dynamically allocate memory on the heap:

REFERENCES

C dynamic memory allocation. Wikipedia.

Dangling pointer Wikipedia.

malloc. Linux man page. Covers malloc, free, calloc, realloc.

Troubleshooting Segmentation Violations/Faults