answersLogoWhite

0


Best Answer

Variables define a certain value, such as an integer, string, boolean value, etc. Functions are defined to run a certain task, and may or may not return a value. You can have a function that calculates the sum of two numbers and returns the sum once calculated.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between functions and variables?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between inline and const?

Everything. "inline" refers to functions, "const" refers to variables.


What is the difference between classes and structure?

Classes are expanded concepts of structures, and can hold functions along with variables and other information.


What is the difference between continuous and discrete system?

The difference between continuous and discrete system lies in the variables. Whereas the continuous systems have dynamic variables, the discrete system have static variables.


What is the difference between calculus and trigonometry?

Calculus is the study of instantaneous and cumulitive growths of functions with respect to two or more variables. Trigonometry is the study of angles, specifically in triangles.


What is the difference between the population and sample regression functions Is this a distinction without difference?

What is the difference between the population and sample regression functions? Is this a distinction without difference?


What is the between objectives and functions?

There is no difference


What are functions used for in math?

There are used to encapsulate a relationship between two or more variables.


What is the difference between literals and variables in QBasic?

Literals are constants.


What is difference between auto and local variables in c?

Nothing.


WAP to show the difference between a variable and static variable?

difference between constant and static variables in java


What is the difference between variables and rules?

a variable changes a rule doesnt.


What is difference between ADBASE software and other optimization software?

I just read that ADBASE software solve multiobjective problems (by simplex method) whith about 50 decision variables and 3 objective functions.