What is the resulting infix expression from the following postfix expression? 17 4 - 6 + 8 *

A. 17 - (4 + 6 * 8)
B. 17 - (4 + 6) * 8
C. (17 - 4) + (6 * 8)
D. (17 - 4 + 6) * 8


Answer: D

Computer Science & Information Technology

You might also like to view...

I have a pointer, nodePtr to a node that is a struct in a linked list. I want to access the member named data. I do this using the expression

a. nodePtr.data b. nodePtr->data c. *nodePtr.data d. (*nodePtr).data e. data is private, you can’t access data under any circumstances.

Computer Science & Information Technology

A _________________ can be used as the basis for an expert system.

a) queue b) stack c) ternary tree d) 4-ary tree e) decision tree

Computer Science & Information Technology

Candidate keys that are used for the primary key are alternate keys

Indicate whether the statement is true or false

Computer Science & Information Technology

In an import statement, you can substitute a class or subsection name with the ____ character to indicate that all of the subsections in the package of classes in the subsection are to be imported.

A. \ B. ? C. * D. #

Computer Science & Information Technology