1. Computing & Technology

Discuss in my forum

Definition of Statement

By , About.com Guide

Definition: A statement is a block of code that does something. An assignment statement assigns a value to a variable. A for statement performs a loop.

In C, C++ and C# Statements can be grouped together as one statement using curly brackets

 { 
 statement1;
 statement2;
 } 
 

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Examples:
An expression is a statement that has a value.

©2012 About.com. All rights reserved.

A part of The New York Times Company.