About 183,000,000 results
Open links in new tab
  1. Functions in C - GeeksforGeeks

    Oct 18, 2025 · A function is a named block of code that performs a specific task. It allows you to write a piece of logic once and reuse it wherever needed in the program. This helps keep your …

  2. C Functions - W3Schools

    Functions A function is a block of code which only runs when it is called. You can pass data, known as parameters, into a function. Functions are used to perform certain actions, and they …

  3. C Functions: Types & Examples Explained - Simplilearn

    May 5, 2025 · Functions in C are the basic building blocks of a C program. A function is a set of statements enclosed within curly brackets ( {}) that take inputs, do the computation, and …

  4. Functions in C - Online Tutorials Library

    Every C program has at least one function, which is main (), and all the most trivial programs can define additional functions. When the algorithm of a certain problem involves long and …

  5. What is a Function in C Programming? - Intellipaat

    Oct 14, 2025 · A function in C is a chunk of code that performs a specified task. They are used to break down code into smaller, more manageable chunks that may then be called from other …

  6. Def in C – How to Define a Function in C - freeCodeCamp.org

    Apr 12, 2024 · Functions play a fundamental role in programming in C. They allow you to write code that is organized and easier to maintain. In this article, you'll learn the basics of defining …

  7. C Functions - Programiz

    A function is a block of code that performs a specific task. In this tutorial, you will be introduced to functions (both user-defined and standard library functions) in C programming.

  8. What Are C Functions And It's Types With Code Examples?

    May 17, 2025 · In C, a function and its prototype should be declared before the function is defined. The name, return type, number, types, and order of the parameters that the function …

  9. Functions in C Programming: Syntax, Types, and Best Practices

    What is a Function in C? A function in C is a group of statements that perform a specific task. When the function is called, the program control jumps to the function, executes the …

  10. Functions in C - Sanfoundry

    What is Function in C? A function in C is a block of code that performs a specific task and can be reused throughout the program. Functions help in modular programming, making code more …