Functions. int max(int a, int b); int main(){ int x; x = max(5,8); x = max(x,7); }. int max(int a, int b){ return a>b?a:b; }. Example. What is a C Function?. A function receives zero or more parameters, performs a specific task, and returns zero or one value.

Related searches for Functions

Download Presentation
## PowerPoint Slideshow about 'Functions' - oshin

**An Image/Link below is provided (as is) to download presentation**

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -