Functions allow programmers to reuse code and organize programs. There are two types of functions - library functions provided by the C standard library and user-defined functions created by the programmer. Functions improve modularity, reusability, and debuggability of large programs. Functions are declared with a return type, name, parameters, and terminator. They are defined with a header, body, local variables, statements, and return statement. Arrays allow storing multiple values of the same type and can be passed to and returned from functions. Strings are character arrays terminated by a null character. Common string functions include strcat(), strlen(), strcpy(), and strcmp().
Related topics: