What is a full expression in C?

前端 未结 3 1961
隐瞒了意图╮
隐瞒了意图╮ 2021-02-19 23:11

I study C language from \"C Primer Plus\" book by Stephen Prata and it came to the point :

\"A full expression is one that’s not a subexpression of a lar

3条回答
  •  Happy的楠姐
    2021-02-19 23:57

    Consider the statement below

    a = b + c;
    

    a = b + c is an expression which is not a subexpression of any larger expression. This is called full expression.
    b + c is a subexpression of the larger expression a = b + c therefore it is not a full expression. b is also a subexpression for the full expression a = b + c and subexpression b + c.

提交回复
热议问题