Is a Declarative Language?

Declarative languages, also called nonprocedural or very high level, are programming languages in which (ideally) a program specifies what is to be done rather than how to do it.

Which language is declarative language?

Declarative Programming Languages:

Examples of imperative languages are Pascal, C, Java, etc. Examples of declarative languages are ML, pure Lisp and pure Prolog.

Is C++ a declarative language?

The C++ is the more declarative language, that allows you to write more imperative assembly when you need to.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.