1. Home
  2. Computing & Technology
  3. C / C++ / C#

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.
Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. Statement - Definition

©2009 About.com, a part of The New York Times Company.

All rights reserved.