Ace Learns Logo Ace Learns
  • Home
  • History
  • Geography
  • Astronomy
  • Physics
  • Chemistry
  • Biology
  • Agriculture
  • Sports
  • Computer Science
  • Articles
  • Contact Us
MCQ Categories
  • Articles
  • Home
  • Contact Us
  • Home
  • »
  • Computer Science
  • »
  • Programming in C
  • »
  • Operators in C
  • »
  • Which operator in C is used to access the address of a variable?

Programming in C

unfold_more
  • double_arrow Data Types in C
  • double_arrow Operators in C

Which operator in C is used to access the address of a variable?

In C programming, the ampersand (&) operator is used to get the address of a variable. It’s also called the “address-of” operator. For example, if you have a variable x, &x will return the memory address where x is stored. This is frequently used when dealing with pointers and sending parameters by reference in function calls.

Related Questions

  • What is the output of the expression 10 << 2 in C?
  • What is the value of x after the following code runs?
  • What does the ! operator do in C?
  • What is the result of the following C program?
  • What will be the output of the following C program?

Quick Links

  • Astronomy
    • chevron_right The Universe
    • chevron_right Space Exploration
    • chevron_right Stars
    • chevron_right High-Energy Astrophysics
  • Current Affairs & Events
    • chevron_right Latest Current Events
    • chevron_right Daily Current Affairs
  • Physics
    • chevron_right Dynamics
    • chevron_right Waves and Optics
    • chevron_right Thermodynamics
    • chevron_right Electricity and Magnetism
  • History
    • chevron_right Industrialization
    • chevron_right Revolution and Counter-Revolution
    • chevron_right Medieval World History
    • chevron_right Enlightenment and Modern ideas

Ace Learns Logo Ace Learns © 2025 Ace Learns. All rights reserved.
  • Contact Us
  • Copyright
  • Privacy Policy