imperative language

From Wiktionary, the free dictionary
Archived revision by Sgconlaw (talk | contribs) as of 03:16, 19 February 2019.
Jump to navigation Jump to search

English

Noun

imperative language (plural imperative languages)

  1. (computing) Any programming language that consists (mostly) of a series of commands, typically assigning values to objects; a procedural language.

x = 1;
y = 2;
z = x + y;
printf("%d\n", z);

A sequence of statements in the imperative C programming language, where "=" is the assignment operator. Each is executed in order. For example, the values of x and y assigned in lines 1 and 2 are used in line 3.


Antonyms

Hypernyms