CSP Day 1
CSP Day 1
CSP Day 1
10 Dynamic Memory Allocation Memory allocation functions (malloc, calloc, realloc, etc.)Memory de-allocation function
(free)
11 File Handling File operations - opening, closing, reading, writing etc.
12 Additional Features Command line argumentativeness operators Macros
Course Outcomes
Course Outcomes Modules
CO4 Able to design programs involving decision structures, loops and Module#3, #4, #5, #6, #7
functions.
CO5 Able to understand the dynamics of memory by the use of Module#8, #10
pointers.
CO6 Able to use different data structures and create/update basic Module#9, #11
data files.
Text Book
Text books
• Programming in ANSI C (Latest Edition) by E. Balagurusamy
Reference books
--Yours Lovingly----------------------------------
#include <stdio.h>
int main(void)
{
-------------------------------------------
printf (“Hello World.\n”);
return 0;
--------------------------------------------
}
Algorithm to find Average of Three Numbers
Notations of Flowchart
Flowchart to find average of three numbers
Lab Assignments