English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The question is to find the evaluation of 1*2^3*4^5*6 . How does this get evaluated in C? And wht will be the result??
The options for the answers given to me are :
1) 32^30 2) 162^30 3) 49152 4) 173458
I would like to know which operation gets started first?
plzzzzz help me!

2007-04-11 02:54:43 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

3) 49152 is true

1*2^3*4^5*6
=1*8*1024*6
=49152

2007-04-11 03:51:37 · answer #1 · answered by iyiogrenci 6 · 0 0

Code it out then... Use VB since it supports "^" sign for raising a power...

The answer is...

3) 49152

2007-04-11 10:04:36 · answer #2 · answered by agent 3 · 0 0

This is more of a math question then a c question, to me. The order of operations is pemdas -- please excuse my dear aunt sally....

Parenthesis
exponents
multiplication
division
addition
subtraction

The answer is 3) 49152

2007-04-11 10:02:38 · answer #3 · answered by Snoopy 5 · 0 0

work inside out

2007-04-11 09:56:39 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers