Professional Documents
Culture Documents
Lecture 6
Lecture 6
Lecture: 6
Functions
Avishek Das
Department of CSE
CUET
FUNCTIONS
➢Functions in C, can be classified into two types
1. Built-in/Library and
2. User-defined.
Library functions – already defined in header file. Example –
printf(), scanf(), sqrt()
User-defined – needed to be programmed by user. Example –
main(), other functions.
➢Function, also called subprogram that carries out some
specific and well-defined task.
/Arguments