answersLogoWhite

0

What is prefix expression?

Updated: 12/21/2022
User Avatar

Wiki User

13y ago

Best Answer

Example:

prefix: * 2 + 3 4

infix: 2 * (3+4)

postfix: 2 3 4 + *

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is prefix expression?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

C code for evaluation of prefix expression?

a*b*c


What is an expression for how would you convert 600 kilograms into grams?

Since the prefix "kilo" means thousand, you multiply by 1000.


What is the difference between prefix and postfix increment operator in c plus plus?

Both the prefix and the postfix increment operators increment the operand. The difference is what is the value of the expression during the evaluation of the expression. In the prefix form, the value is already incremented. In the postfix form, it is not. int a = 1; int b = ++a; // both a and b are now equal to 2 int a = 1; int b = a++; // a is equal to 2 and b is equal to 1


Code for convertion of prefix to postfix?

I don't know what you mean with "conversion". Prefix means the "++" or "--" is in front of the variable:++x;Post-fix means it is after the variable:x++;The examples do the same, but if the "++" or "--" is part of a larger expression, prefix will be evaluated before the remaining expression; postfix after:a = 5;b = ++a; // First increment a, then assign to b - b will be 6a = 5;b = a++; // First assign to b, then increment - b will be 5----What they (probably) mean is converting from '+ * 5 3 1' to '5 3 * 1 +'


What does the root word divided and prefix un-mean?

The root word "divided" means to separate into parts. The prefix "un-" means not or the opposite of. So "undivided" means not separated into parts, or whole and complete.


What is a 'post fix expression' in java programming?

Postfix expressions are expressions where the operator is at the end of the expression. These include the "++" (increment) and "--" (decrement) operators. Most Java expressions use in-fix notation (e.g. "a + b") but the increment and decrement operators can be postfix ("e.g. "a++" to increment variable a) or even prefix (e.g. "++a").


When is a prefix not a prefix?

A prefix is not a prefix when it is placed at the end of a word rather than the beginning. In this case, it is referred to as a suffix.


What is the prefix of intolerant?

Prefix=IN


Does purpose have a prefix?

Yes, prefix does have a prefix. The prefix is pur-.


What the prefix for the word inadaquate?

The prefix for inadequate is in-. The prefix in- means not.


What is the suffix of affirm?

The prefix is "af" meaning "to maintain something is true". Other possible prefixes are "con" which basically means basically the same thing but instead is an expression of agreement. Hope this helps


What is prefix of interested?

The prefix is in-. This prefix means not.