Notes - 1.17 - Notes 1.17 The History of C Was called NB o...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Notes – 1.17 The History of C - Was called NB o BCPL - Orignated from the UNIX System - By Denins Ritchie in Bell Labs - Between 1969 and 1973 - Became popular in the 1980s - Original C o By Kernighan and Ritchie o ANSI C ANSI Standard X3.159-1989 Formally in December 1989 International ISO o C99 International Standard ISO o Slight variations by complier maker Syntax - Form - Grammar - Lexical structure - Very précis - Will give syntax rules for constructs of the langage Semantics - Have meaning and behavior - This part is the most challenging A Program - Main is always included - Can make calls out to other functions - A function is a named unit containing a set of statements that operate on data to produce a specific result - The block of statements in a function are executed in sequence, one after the other - Each statement ends with a “;” - Sample Program “ #include <stdio.h> - Directive Int main (void) { printf(“Hello World \n”); Return 0” } - C is case sensitive
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 4

Notes - 1.17 - Notes 1.17 The History of C Was called NB o...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online