C tutorial

The following is the index of the C tutorial is sorted and arranged to use both in academic and interview ways.

INTRODUCTION:
  • Computer systems.
  • Hardware & software concepts.

PROBLEM SOLVING:
  • Algorithm / pseudo code
  • flowchart
  • program development steps

Computer Languages:
  • machine,
  • symbolic, and high-level languages,
  • Creating and running programs: Writing, editing, compiling, linking, and executing.

BASICS OF C:
  • Structure of a C program
  • identifiers
  • basic data types and sizes.
  • Constants
  • variables
  • arithmetic
  • relational and logical operators
  • increment and decrement operators
  • conditional operator
  • assignment operators
  • expressions
  • type conversions
  • conditional expressions
  • precedence and order of evaluation
  • Sample programs.


BIT-WISE OPERATORS:
  • logical
  • shift
  • rotation
  • masks.

SELECTION – MAKING DECISIONS:
  • Two-way selection:
  • if- else
  • null else
  • examples
  • Multi-way selection: switch, else-if, examples.



STRINGS:
  • concepts,
  • c strings.

ITERATIVE:
  • Loops -
  • while,
  • do-while and for statements,
  • break,
  • continue,
  • initialization and updating,
  • event and counter controlled loops,
  • Looping applications: Summation, powers, smallest and largest.



ARRAYS:

  • Arrays - concepts,
  • declaration,
  • definition,
  • accessing elements,
  • storing elements,
  • Strings and string manipulations,
  • 1-D arrays,
  • 2-D arrays and character arrays,
  • string manipulations,
  • Multidimensional arrays ,
  • Array applications: Matrix Operations, checking the symmetricity of a Matrix,



FUNCTIONS-MODULAR PROGRAMMING:

  • Functions,
  • basics,
  • parameter passing,
  • storage classes:- extern, auto, register, static,
  • scope rules,
  • block structure,
  • user defined functions,
  • standard library functions,
  • recursive functions,
  • Recursive solutions for Fibonacci series,
  • Towers of Hanoi,
  • header files,
  • C per-processor,
  • example c programs.
  • Passing 1-D arrays,
  • 2-D arrays to functions.



No comments:

Post a Comment

Note: only a member of this blog may post a comment.