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 8383651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:12:51+00:00 2026-06-09T17:12:51+00:00

How do people that write compilers call it? I know that int a, b,

  • 0

How do people that write compilers call it? I know that int a, b, c; is called an expression. But things like this: int a = 2? or a++, a=c etc I don’t have any idea. And where do I find these terms? C standard or buy a book about compiler construction? I hope this is clear. Thanks in advance.

  • 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-06-09T17:12:52+00:00Added an answer on June 9, 2026 at 5:12 pm
    int a, b, c;
    

    This is not an expression. This is a declaration.

    int a = 2;
    

    This is also a declaration. The 2 part is the initializer.

    a ++
    

    This is a “post-increment” expression. Note that outside of the C world this could be just a statement.

    a = c
    

    This is an assignment expression (which again, outside of C, this can be a statement).


    The exact definition of these terms and categorization of each syntax for C can be found in the C standard (Chapter 6: Language), which you can find download/purchase information from Where do I find the current C or C++ standard documents?.

    Note that these are only true for C (and most of its derivatives, e.g. C++, Javascript, etc.). These concepts may not be meaningful in other languages (e.g. some language doesn’t distinguish between statements and expressions).

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

Sidebar

Related Questions

So I know of a few people that actually write their algorithms out in
I know a bunch of people that are really enjoying the improvements that ASP.NET
I would love to get some tips from other people that have had this
I've heard that the advantage of java is that people can write code, compile
This is a simplified example, but I am working on a code translator that
For those people that use NHibernate and similar stuff, why do you use it?
I have heard from many people that usage of templates make the code slow.
I have a PersonEditorModel that contains a list of people that I want represented
I often hear around here from test driven development people that having a function
Just need a little bit of Javascript to warn people that press the back

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.