---
title: "Discussion on \"Functions vs Methods\" | Hashnode"
description: "Discussion on \"Functions vs Methods\". Overview\nFunction\nA function is a set of instructions that is used to perform a specific task. There are usually two types of functions.\n\nLibrary Functions\n\nUser-defined Functions\n\n\nExample of a Function in C\n// return type void\nvoid printTheWord(){ ..."
url: "https://hashnode.com/posts/functions-vs-methods/650540c3b5e0ce50fa0086c4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Functions vs Methods](https://kwiz.hashnode.dev/functions-vs-methods?utm_source=hashnode&utm_medium=feed)

Overview Function A function is a set of instructions that is used to perform a specific task. There are usually two types of functions. Library Functions User-defined Functions Example of a Function in C // return type void void printTheWord(){ ...

Sep 16, 2023 · 2 min read · kwiz.hashnode.dev  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)

## Written by

[Kaif Khan](https://hashnode.com/@kwiz)

@kwiz · Jamshedpur, India

  
[View profile](https://hashnode.com/@kwiz)

Exploring

CS enthusiast.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
