answersLogoWhite

0

all preprocessor directives start with #(hash) symbol in both c & c++

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What is the use of 'pragma' in C language?

The #pragma directive is a compiler specific instruction. There are many things you can tell the compiler. For instance, the #pragma pack n directive tells the compiler to override the /Zpn command line argument and to use a new default structure packing value. To see all of the possible #pragma directives, go to online help, and index by #pragma directives, C/C++. You probably only need to type in #pra and then click on C/C++ to get this far.


What to do when the shift plus 2 gives the wrong sign instead of the at sign?

Change your keyboard configuration to US layout.


How do you write in c plus plus a series of n integers alternating plus and minus?

An array or vector of int or double or any other signed type can achieve this. If the array must alternate, then simply traverse the array alternating the signs as you go: std::vector<int> v = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; bool sign=true; // true is positive. for (int i=0; i<9; ++i) { if (sign) { // value must be positive if (v[i]<0) v[i] *= -1; // if negative, make positive } else { // value must be negative if (0<v[i]) v[i] *= -1; // if positive, make negative } sign = !sign; // switch sign for next iteration }


What is plus operator is it unary or binary?

There is no unary plus in C, but if there were, it would have only one operand, unlike the binary plus which has two: x = a + b; /* binary plus */ x = + b; /* unary plus -- not in C*/ x = a - b; /* unary plus */ x = - b; /* unary minus */


What character does every tag in HTML start with?

Every HTML tag starts with a less-than sign, as shown below.

Related Questions

Do all excel formulas start with an sign?

All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.All formulas begin with the equals sign. It is also possible to start with a plus sign, a minus sign or an @ sign, but an equals sign will be automatically put in front of it.


When texting what does surrounding a word with a plus sign mean such as When plus sign we plus sign laugh or When plus sign you plus sign shout?

It's a way of emphasizing the word. In your examples, "When +we+ laugh" or "When +you+ shout" is similar to saying "When *we* laugh" or "When YOU shout."


Can you start a sentence with the word plus?

Yes, you can start a sentence with the word plus (as a noun or adjective, not as a verb). Examples: Noun: Plus is the sign of addition. Noun: Plus is the only entry I want to see on my savings account. Adjective: Plus signs after the A were spread across the top of my math test!


What does meaning of plus sign in hospitals?

The plus sign is used to indicate a pharmacy.And the aid sign


How do you get a Google Plus account?

To sign up for a Google Plus' account just go to its homepage and click the sign-in button. Fill out all required information and you're done! You can start adding relatives and friends in to your circles.


What is the sun's plus sign?

There is no such thing as a Sun's plus sign in astrology.


What is the name for the addition symbol?

This can be called * A Plus sign * An Adding sign


What is the additive of -4?

If you mean the ADDITIVE INVERSE, change the minus sign to a plus sign. (And if you see a plus sign, you change it to a minus sign.)


How were the plus and minus sign invented?

The person who invented the plus sign is the same as the minus


In Excel what does plus mean?

It has no special name. It is just the plus sign.


How do you divide a circle into eight equal parts drawing a plus and times sign?

Draw circle.Draw "plus sign" + on top of circleDraw "times sign" x on top of circlepresto eight cake slices of circle.Simply place the plus sign in the circle so the plus sign touches the edges, then overlap the times sign on the plus sign. It should give you eight lines in the circle, which are eight slices.


What does ctrl plus shift plus plus sign do?

nothing