Here precedence of ^ is more than / and *
So, ^ will evaluate first.
Next * and / has same precedence
So, see their associativity next. / and * both left to right associative
Prefix Evaluation
1) log3! ^log4 *log log 6/7*4!
=> ^log3!. log4 *log log 6/7*4!
=>*^log3! log4 loglog6 /7*4!
=> /*^log3! log4 loglog6 7*4!
=>*/*^log3! log4 loglog6 74!
2) log3!^sin 2*cos 3
=>^ log3!sin 2*cos 3
=>*^ log3!sin 2 cos 3
Similarly we can do Postfix too