Preview

Reading from files

  • File I/O
  • fscanf

    Dynamic Memory allocation

  • Using malloc()
  • Using calloc()
  • Why use dynamic memory allocation
  • What's a memory leak ?

    Example

  • Using fscanf(), fprintf() & malloc()

    Afterview