HGPA

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

Filename: c.md (Edit)
Modified: 2017-02-03 (6ee7f7f767f7fa6073d3c622453fc7b0a94e3cca)
Created: 2017-02-03 (6ee7f7f767f7fa6073d3c622453fc7b0a94e3cca)