---
title: "Discussion on \"Print address of a variable in C\" | Hashnode"
description: "Discussion on \"Print address of a variable in C\". This is a simple program that prints the address of a variable in C programming language.\nIn the main function, an integer variable,a is defined.\nUsing the ampersand (&) operator, its address is printed.The format specifier %p is used to print the ad..."
url: "https://hashnode.com/posts/print-address-of-a-variable-in-c/64d6638ea3d9d7740eec095a"
---

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

Discussion

# [Print address of a variable in C](https://yosa.hashnode.dev/print-address-of-a-variable-in-c?utm_source=hashnode&utm_medium=feed)

This is a simple program that prints the address of a variable in C programming language. In the main function, an integer variable,a is defined. Using the ampersand (&) operator, its address is printed.The format specifier %p is used to print the ad...

Aug 11, 2023 · 1 min read · yosa.hashnode.dev  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Anusha](https://hashnode.com/@yosa)

@yosa

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
