---
title: "Discussion on \"C program to find the factorial of a number.\" | Hashnode"
description: "Discussion on \"C program to find the factorial of a number.\". Here is a program to find the factorial of a number.\n#include<stdio.h>\n\nint fac(int n);\n\nint main() {\n    printf(\"Here is a program to find the factorial of a number using functions\\n\");\n    printf(\"Enter a num to find the factorial:\");\n    int n = 0..."
url: "https://hashnode.com/posts/c-program-to-find-the-factorial-of-a-number/65e89c26db320ebc2c6b1706"
---

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

Discussion

# [C program to find the factorial of a number.](https://gagang.hashnode.dev/c-program-to-find-the-factorial-of-a-number?utm_source=hashnode&utm_medium=feed)

Here is a program to find the factorial of a number. #include<stdio.h> int fac(int n); int main() { printf("Here is a program to find the factorial of a number using functions\\n"); printf("Enter a num to find the factorial:"); int n = 0...

Mar 6, 2024 · 1 min read · gagang.hashnode.dev  
Read the article

-   [#crazyblogger](https://hashnode.com/tag/crazyblogger)
-   [#factorial](https://hashnode.com/tag/factorial)
-   [#c](https://hashnode.com/tag/c)
-   [#math](https://hashnode.com/tag/math)
-   [#7daystreak](https://hashnode.com/tag/7daystreak)

## Written by

[Gagan G Saralaya](https://hashnode.com/@GaganG)

@GaganG

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

Just a coder building cool stuff.

I'm passionate about coding and enjoy working with embedded systems, app development, and compiler design.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
