answersLogoWhite

0

Statements are composed from expressions. A semi-colon turns an expression into a statement.

A function is not a statement it is a type definition.

A statement block is a compound statement, one or more statements delimited by braces, {}.

A function block is the body of a function. The body must be enclosed in braces, {}.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

If the equation of a function is a rational expressions the function is rational?

Yes. Rational functions must contain rational expressions in order to be rational.


How does the compiler differentiate the statement and function in C programming?

statement should not return a value but function returns a value


Which function are used in dyanamic programming handling?

Virtual functions.


What function in MS Excel which checks the logical condition of a statement?

IF function


What is an example of a function?

Functions basically establish relationships between expressions. Many common Algebraic functions are expressed as functions of x: f(x) = x2 + 4 Which could also be written as y = x2 + 4 However, this just scratches the tip of the universe. Not only do mathematical functions vary in complexity and offer an infinite number of possibilities, there are also programming functions. Programming functions are typically groups of commands that accept one or more parameters, then return one or more pieces of information. The above Mathematical function can be re-written as a Perl programming function that accepts a value for x: sub calculateFunction { my ($x) = @_; my $y = x**2 + 4; return ($y); }


What is the significance of the lambda value in the context of programming languages?

In programming languages, the lambda value is significant because it represents an anonymous function or a function without a name. Lambda functions are commonly used for creating quick, temporary functions or for passing functions as arguments to other functions. They are a key feature in functional programming languages and allow for more concise and flexible coding.


Can a parent function access values of a child function?

In C programming, there aren't any parent or child functions.


If the equation of a function is a rational expression the function is rational.?

Yes. Rational functions must contain rational expressions in order to be rational.


If the equation of a function is a rational expression is the function rational?

Yes. Rational functions must contain rational expressions in order to be rational.


If the equation of a rational function is a rational expression is the function rational?

Yes. Rational functions must contain rational expressions in order to be rational.


What is a programming function?

A programming function is like a verb in spoken language. It's a block of code that does something and has a name like Print or Sort. Functions are typically distinguished from methods, which are functions with some sort of surrounding context such as a method within a class or structure.


What is the difference between a function and expression?

Functions and Expressions are representations of relationships that exist among entities, however a function always returns a value (or result)