Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of Graph Search.
This lecture introduces the concept of functions in C programming as a way to manage long programs efficiently. Functions group statements under one name, promoting reusability and reducing errors. The lecture covers function definition, parameters vs. arguments, local and global variables, recursive functions, and the syntax for function calls and declarations. Examples illustrate how functions are defined, called, and used to solve problems. The importance of proper function structure and the distinction between local and global variables are emphasized.