---
title: "Discussion on \"Exploring Functions Executed Before and After main() in C.\" | Hashnode"
description: "Discussion on \"Exploring Functions Executed Before and After main() in C.\". Understanding Constructors and Destructors in C."
url: "https://hashnode.com/posts/exploring-functions-executed-before-and-after-main-in-c/650e26929cb53835a1801451"
---

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

Discussion

# [Exploring Functions Executed Before and After main() in C.](https://oluchukwu-ughagwu.hashnode.dev/exploring-functions-executed-before-and-after-main-in-c?utm_source=hashnode&utm_medium=feed)

Understanding Constructors and Destructors in C.

Sep 22, 2023 · 2 min read · oluchukwu-ughagwu.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#c-programming](https://hashnode.com/tag/c-programming)
-   [#constructor](https://hashnode.com/tag/constructor)
-   [#destructor](https://hashnode.com/tag/destructor)
-   [#c](https://hashnode.com/tag/c)

## Written by

[Oluchukwu Ughagwu](https://hashnode.com/@oluchristian)

@oluchristian

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

Software Engineering Student at Alx

## Responses 2

Markdown supported · ⌘↵ to post

[Methembe Gumbo](https://hashnode.com/@DevMethie263)

[Sep 25, 2023](https://hashnode.com/posts/exploring-functions-executed-before-and-after-main-in-c/650e26929cb53835a1801451/comment/65112de8354de1466489138e)

Enjoyed reading this.

[Oluchukwu Ughagwu](https://hashnode.com/@oluchristian)

[Sep 25, 2023](https://hashnode.com/posts/exploring-functions-executed-before-and-after-main-in-c/650e26929cb53835a1801451/comment/65112de8354de1466489138e#reply-6511d65581376c4f252c7442)

You're welcome and thank you for the follow❤️

[AJAGUN SAMUEL EVESHOFASE](https://hashnode.com/@SAAJEVESR2)

[Sep 23, 2023](https://hashnode.com/posts/exploring-functions-executed-before-and-after-main-in-c/650e26929cb53835a1801451/comment/650f208e2f56b93c1e074242)

This is clearly something I never knew happens in C. Thanks for this new enlightenment.

[Oluchukwu Ughagwu](https://hashnode.com/@oluchristian)

[Sep 24, 2023](https://hashnode.com/posts/exploring-functions-executed-before-and-after-main-in-c/650e26929cb53835a1801451/comment/650f208e2f56b93c1e074242#reply-650f8a3a66a8e03eff7a4020)

You're welcome. I'm glad that you learnt something new. You can follow me for more articles like this on C language
