Anonymous asked in Computers & InternetProgramming & Design · 2 months ago

Is everything in coding either a statement, function or expression? ?

How about c++ specifically 

9 Answers

  • 2 months ago
    Favourite answer

    Actually, no.

    There are declarations of many kinds, imports for external symbols/constants, and let's not forget comments.  Too many people DO forget them.  Compiler directives come in there somewhere.

    Some things are block identifiers depending on the language.  I would say you left out at least 40% of the language.

  • 1 month ago

    There are statements, functions, expression in every coding.

  • 2 months ago

    No, not exactly there are lots of other things.

  • 2 months ago

    If you're talking about stuff in a method, I think you've basically got them all except comments, blank lines, and compiler directives.

  • What do you think of the answers? You can sign in to give your opinion on the answer.
  • 2 months ago

    I'm not sure how one would classify Comments, the most important part of coding, and what sets the seasoned programmer apart from the absolute tyro.

  • Anonymous
    2 months ago

    There are also compiler directives and comments.

  • Lv 7
    2 months ago

    no. what about variables? what about inputs and outputs? what about data?

  • joedlh
    Lv 7
    2 months ago

    You left out object.

  • ?
    Lv 7
    2 months ago

    No there are lots of other things - too many to enumerate here!

Still have questions? Get answers by asking now.