/c_tutorial

A simple C tutorial on memory allocation and command line parameters.

Primary LanguageCMIT LicenseMIT

C Tutorial

A simple C tutorial on memory allocation and command line parameters.

How to compile and execute a program:

  1. to compile hello.c run: clang -o hello hello.c.
  2. to execute the newly create binary hello run: ./hello
  3. to do both at the same time: clang -o hello hello.c && ./hello