answersLogoWhite

0

In C we use & operator while giving address of some variable to some pointer variable. & operator is also used in scanf().

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you check address of char variable?

Use the address-of operator: char c=32; // space character std::cout<<&c<<std::endl;


Use of scope resolution operator in C programming?

:: operator can not be used in C.


What is the memory management operator in c plus plus?

There is no memory management operator in C++ -- it is an unmanaged language. You use the C++ new operator to allocate memory, and use the C++ delete operator to release previously allocated memory.


What is the operator of power in c plus plus?

There is no "power" operator in C or C++. You need to the use the math library function pow().


What is the function of symboland in C programming?

The symbol and (ampersand, &) in C and C++ programming is the bitwise inclusive or operator. If there are two ampersands (&&) it is a relational inclusive or operator. As a unary operator, it means to take the address of something. In C++, it can also be overridden in a class method to mean nearly anything else.


It is required to use an address operator when you accept an input for a string?

No.


What is the purpose and functionality of the address operator in C?

The address operator in C is denoted by the symbol "" and is used to retrieve the memory address of a variable. This allows programmers to access and manipulate the memory location of a variable directly, enabling more efficient and precise control over memory management in their programs.


Why are there 2 plus sign in c plus plus and Why not a single plus sign?

In C and in C++, the ++ operator means to increment. C++ was intended to be the next version, i.e. the incremental next step, of C, hence the use of the ++ operator.


Why should you have to use comparison operator overloading in pairs in c?

You cannot overload operators in C. This is a C++ thing only.


What are the basic operator in turbo c?

+ += - -= * *= / /= % %= = == != <= >= & && | ^ ~ << <<= >> >>= , [] () are the basic operator in TURBO C


What is the operator that cannot be overloaded in c plus plus and java?

conditional operator , size of operator , membership operator and scope resulation operator can not be overload in c++


Explain the Difference between bitwise operator ' and ' and address operator ' and ' of pointer?

The bitwise logical operator and (&) calculates the bitwise logical and of two integral values. It is a binary operator.The address of (&) operator returns the address of the value to its right. It is a unary operator.The distinction between the two is one of context. The logical and operator will follow (and be preceeded by) a value, while the address of operator will follow an operator.