C-Refresher

Lec01 GNU gcc Compiler


This is a lecture on gcc compiler that covers the basics and a bit of details like internals of compilation process, include files, libraries, and multi-file programs
Email: arif@pucit.edu.pk

Lec02 GNU Debugger


This lecture deals with gdb and its basic working
Email: arif@pucit.edu.pk

Lec03 Data Representation


This lecture deals with how data is represented inside the computer memory. I have discussed multi-byte load store, signed and unsigned number representation, IEEE format for floating point number, and the concept of overflow and underflow.

Email: arif@pucit.edu.pk

Lec04 Terminal IO


This lecture deals with formatted as well as unformatted Terminal I/O functions

Email: arif@pucit.edu.pk

Lec05 Operators in C


This lecture deals with C-operators, with specific emphasis on bit wise operators

Email: arif@pucit.edu.pk

Lec06 Pointers and Arrays


This is an introductory lecture on pointers, how they are declared and how they are used. It gives special emphasis on the architecture of 2D arrays and how the elements of arrays can be accessed using pointer arithmetic

Email: arif@pucit.edu.pk

Lec07 Pointers and Funtions


This lecture discuss why we should, and how we can pass arguments to functions using pointers. It also explain the reasons of returning pointers from functions.

Email: arif@pucit.edu.pk

Lec08 Function Pointers


This is the last of the three lectures on pointers. Describes the usage of function pointers and their importance. Also describe the C library function qsort

Email: arif@pucit.edu.pk

Lec09 Dynamic Memory


This lecture deals with allocating memory on heap for built-in and user defined data. Gives a detailed view of a process’s stack and heap. Gives special emphasis on allocating 2D integer and character arrays on heap

Email: arif@pucit.edu.pk

Lec10 Disk IO


This lecture deals with formatted as well as unformatted Disk or file I/O functions

Email: arif@pucit.edu.pk