1 of 5

Slide Notes

DownloadGo Live

C Programming

Published on Nov 20, 2015

Designed by Dennis Ritchie in early 1970s. It was named ‘C’ because it was derived from a previous language known as ‘B’. It is a high level language. Facilitates structured programming

PRESENTATION OUTLINE

C Programming

Introduction to Programming
Photo by Dave_B_

Introduction to Programming

  • Programming is the process of writing some instructions (software) for computers to follow
  • Computers only understand binary (0 and 1), also known as machine language
  • Machine code (language) is difficult to remember and is quite lengthy, even for small operations
Photo by Pandiyan

Setting up the Work Environment

  • Compiler This is a software that converts our source code into computer understandable code
  • This is a software that creates an executable file from the object code created by the compiler

Exploring the IDE

  • This IDE works with many languages
  • Can create projects which will include related files
  • Excellent debugging tools
  • Easy to use interface

Objective

  • A pointer stores the address (memory location) of another entity
  • Address-of operator (&) gets the address of an entity
  • De-reference operator (*) makes a reference to the value at the address stored by the pointer
  • Pointer and array
  • Pointer arithmetic
Photo by NASA APPEL