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 result of the following C program?
  • What does the ! operator do in C?
  • What will be the output of the following C program?
  • What is the output of the expression 10 << 2 in C?
  • How many operands does the ternary conditional operator require in C?

Quick Links

  • Agriculture
    • chevron_right Processes and Factors of Soil Formation
    • chevron_right Animal Husbandry
    • chevron_right Mutations and Crop Improvement
    • chevron_right Green Revolution
  • Physics
    • chevron_right Thermodynamics
    • chevron_right Electricity and Magnetism
    • chevron_right Geometrical Optics
    • chevron_right Dynamics
  • Biology
    • chevron_right Human Diseases
    • chevron_right Essential Nutrients
    • chevron_right Cell Biology
    • chevron_right Plants
  • Astronomy
    • chevron_right Solar system
    • chevron_right Stars
    • chevron_right High-Energy Astrophysics
    • chevron_right Galaxies

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