Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4034164
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:56:17+00:00 2026-05-20T11:56:17+00:00

I feel I got a little confused here distinguishing sub-expression from expression. Compound expression

  • 0

I feel I got a little confused here distinguishing sub-expression from expression.

Compound expression – An expression involving more than one operator.

E.g. 1 + 1 * 1

Expression – An operator with one or more operands.

E.g 1 + 1 or + 1

is there a level below the expression which is called a sub-expression?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:56:17+00:00Added an answer on May 20, 2026 at 11:56 am

    An expression may not have an operator. For example, in the following:

    int a = 0;
    a;
    

    a is an expression. An expression is, to quote the C++ Standard, “a sequence of operators and operands that specifies a computation” (C++03 5/1). Here, a is an “operand” even though there is no operator.


    A subexpression is any expression that is a piece of a larger expression. So, in

    int a = 0, b = 0, c = 0, d = 0;
    a * b + c * d;
    

    a * b and c * d are subexpressions.


    The word “compound” is usually used with respect to statements, not expressions. A compound statement is a pair of braces that may contain a sequence of other statements. For example, a function body is almost always a compound statement, as are many loop bodies.

    Usually, complex expressions are just referred to simply as “expressions” and their parts are referred to as subexpressions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a little c# windows service that periodically pulls xml from a web
I feel like a fool, but here goes: public interface IHasErrorController{ ErrorController ErrorController {
I feel like I'm re-inventing the wheel here, but I need to find a
I feel a little stupid for having to ask this… But I can't seem
I've got a pretty simple little bit of code. It goes like this: <html
I've got an application that has one screen where there are 8 windows moving
I got mysql query like this: SELECT name, (SELECT timePing FROM TerminalPings WHERE terminalsId
I've got this function, which I modified from material in chapter 1 of the
Feel free to edit the title if you know how to formulate the question
I feel that my shop has a hole because we don't have a solid

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.