Programming with C

⌘K
  1. Home
  2. Docs
  3. Programming with C
  4. Input/Output statements
  5. Statement

Statement

A statement in the smallest logical entity that can independently exist in a C program. No entity smaller than a statement, i.e., expressions, variables, constants, etc. can independently exist in a C program unless and until they are converted into statements.

Example

a=2+3 is an expression

whereas a=2+3; is a statement (expression statement)

Assignment statements

If the assignment operator is involved in the expression statement, it can be called as an assignment statement

Ex: a=2+3

Since, the statement is having arithmetic operator (+), it is also called as arithmetic statement

Classification of statement

Views: 0

How can we help?

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments