Programming in C
Subject Overview
Programming in C teaches structured programming from the ground up — algorithm and flowchart development, C fundamentals and control structures, functions/arrays/structures/unions, and pointers/files/preprocessor directives. A 5-credit core theory paper that underlies every later programming course in the degree.
Unit-wise Syllabus
4 units — click WhatsApp below to get the full notes for each
Unit 1: Algorithm development and C fundamentals
Steps in program development, flowcharts, algorithm development, debugging, compilation and execution, I/O statements, assignment statements, constants, variables, operators and expressions, keywords, data types and identifiers
Unit 2: Control structures and functions
Decision making with if/if-else/nested if, while/do-while/for loops, jump statements (break, continue, goto, switch), function declaration and categories, parameters and parameter passing, call-by-value/reference, recursion, storage classes
Unit 3: Arrays, structures and unions
Array declaration, single and multidimensional arrays, memory representation, matrices, strings and string handling functions, structure declaration and member access, structure initialization, arrays of structures, nested structures, unions
Unit 4: Pointers, files and preprocessor directives
Address operator and pointers, declaring and initializing pointers, assignment through pointers, pointers and arrays, creating/opening/closing/processing a data file, macros, conditional preprocessors, header files
