Table of Contents
show
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