Home > Back-end >  C language evaluation order
C language evaluation order

Time:09-23

A=(fun1 () + func2 ()) + fun3 ();
Func1 ()
Func2 ()
Func3 - a non-class function ()
What are three functions of evaluation order

CodePudding user response:

1, 2, 3.

CodePudding user response:

According to the operation priority

CodePudding user response:

Advice to understand: a=x + y + z; The execution of the order can know the function calling sequence,

CodePudding user response:

disorderly

CodePudding user response:

Indeed, disorderly,
Reference: https://blog.csdn.net/weixin_38239856/article/details/70040757
  • Related