Saturday, July 30, 2022
HomeWordPress DevelopmentStatements in Programming - DEV Neighborhood

Statements in Programming – DEV Neighborhood


What are Statements?
An announcement is the smallest unit in an crucial programming language. It’s shaped by a sequence of a number of assertion. An announcement may have inside elements referred to as expression.

A definition is totally different from an announcement in {that a} assertion incorporates executable code whereas definitions declare an identifier.

Varieties of Statements
1. Easy Statements
•project: A:= A+1
•name: CLEARSCREEN()
•return: return 1;
•goto: goto 2
•assertion: assert(ptr != NULL);

2. Compound Statements
•block
•if-statement
•switch-statement
•while-loop
•do-loop
•for-loop

3. Assignments Statements
An project assertion units the worth or modifications the worth saved within the storage places denoted by a variable identify.

Thanks for studying this text.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments