answersLogoWhite

0

What is the use of and sign in c?

User Avatar

Anonymous

14y ago
Updated: 8/19/2019

"&" has two different uses in C. The first is called a bitwise operator. AND functions use boolean algebra to derive a comparison of two values. EX: c = a & b. If either a or b has a value of 0 then c will be 0. If both a & b are 1 then c = 1.

The second use of & is as a pointer in memory assignment. In the statement

scanf( "%d", &a_number );

the & in front of "a_number" is telling the program to store the inputted number (typed in from the keyboard typically) to a memory location that is named "a_number".

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

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.


Which sign did the antique Romans use in order to display the number 100?

It was: C = 100


Does the celsius sign go before or after the C?

The Celsius sign is the C; the little circley thing at the top is the degree sign and goes before the C


How to use t witte r in c h i na?

go to twitter.com and sign up


What clef sign does the cello use?

The 'Cello is in Concert Pitch (C) so A above middle C will equal 440 (same as the piano)


How do you say rice in sign language?

CORRECTED: Use one hand as a plate; cross the first 2 fingers of the other hand, and pretend to scoop up the rice from the plate to your mouth.


What is the sign use for exclamation?

The sign use is !


How do you say Canada in sign language?

In American Sign Language (ASL), you would fingerspell C-A-N-A-D-A using your dominant hand. The sign involves tracing a "C" in the air, then pointing to the top of your head, then drawing a large "C" in front of your body.


What are the crip hand signs?

The Crips typically use a hand sign known as the "Crip Walk" or the "C" hand sign, forming the letter "C" with their fingers. However, it's important to note that displaying gang signs can be dangerous and should be avoided to prevent any misunderstandings or conflicts.


What math sign do you use when using perimeter?

we use "+" sign.


How do you say Michael in sign language?

Hi, if you are talking about ASL (American Sign Language) you will need to spell out each letter of the name. M-I-C-H-A-E-L If you have a Deaf person in your life, they can give a sign name for the word Michael, and you could just use the sign instead of finger-spelling. But at first, you need to fingerspell it.


How do you do a Celsius sign?

To create a Celsius sign (°C) on a computer, you can typically use the following methods: On Windows, hold down the "Alt" key and type "0176" on the numeric keypad, then press "C" for Celsius. On a Mac, you can type "Option" + "Shift" + "8" for the degree symbol and then add "C." Alternatively, you can copy and paste the symbol directly from a website or document: °C.