CITS2002 Systems Programming  
prev
next CITS2002 CITS2002 schedule  

Features of C common to most programming languages

  • base data types - integers, characters, floating-point

  • conditions (though evaluated as integers, 0 is false, anything other is true)

  • expressions with type promotion (integers and floating-point)

  • control flow - if/else, switch; for, while, do...while loops

  • aggregate data-structures; one- and multi-dimensional arrays, structures

  • functions, accepting parameters, return value and pointer parameters

 


CITS2002 Systems Programming, Lecture 23, p3, 17th October 2023.