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

Quick Links

  • Chemistry
    • chevron_right Electronic Structure and Periodicity
    • chevron_right Matter and Measurements
    • chevron_right Acids Bases and Salts
    • chevron_right States of Matter and Solutions
  • Physics
    • chevron_right Dynamics
    • chevron_right Waves and Optics
    • chevron_right Geometrical Optics
    • chevron_right Electricity and Magnetism
  • Computer Science
    • chevron_right Analysis and Design of Algorithms
    • chevron_right Databases
    • chevron_right Computer Networks
    • chevron_right Language Processors
  • Current Affairs & Events
    • chevron_right Latest Current Events
    • chevron_right Daily Current Affairs

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