---
title: "Discussion on \"Accepting Variable Number of Arguments in a Function\" | Hashnode"
description: "Discussion on \"Accepting Variable Number of Arguments in a Function\". Functions in Go are capable of accepting multiple number of arguments, also called as variadic functions. One prominent example of such a function is fmt.Println as you can pass in any number of variables, it will print each of them separated by a sp..."
url: "https://hashnode.com/posts/accepting-variable-number-of-arguments-in-a-function/622df8142f73c1ca2f299570"
---

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

Discussion

# [Accepting Variable Number of Arguments in a Function](https://progolang.dev/accepting-variable-number-of-arguments-in-a-function?utm_source=hashnode&utm_medium=feed)

Functions in Go are capable of accepting multiple number of arguments, also called as variadic functions. One prominent example of such a function is fmt.Println as you can pass in any number of variables, it will print each of them separated by a sp...

Dec 8, 2018 · 1 min read · progolang.dev  
Read the article

## Written by

[Srinivasan Rangarajan](https://hashnode.com/@cnu)

@cnu

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

Entre+gineer

Software Engineer with an entrepreneurship gene. Love talking about code, products, UI/UX and how to build startups.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
