the value of variables is determined by the equation, discrete variables have absolute single value while the continuos have a range value
Independent variables are the input value of a function (usually x) and dependent variables are the output value of the function (usually y).
In computer programming, variables refer to a particular location in the memory that holds a value. Variables are equivalent to their assigned values.
To evaluate means to find the value. Substitute the values of the variables and calculate the value. [You may need to solve for the values of the variables first.]
Infinitely many. Assuming the variables are "x" and "y" , for every value of "x" a value for "y" can be calculated.
initialize static variables are stored in data segment where uninitialized static variables are stored in BSS(block storing for Symbol) it also a part of data segment exp static int i=10;//stored in data segment static int i;//stored in BSS (uninitialized data segment) Thanks NAvin
Yes they are!
they are stored in the memory.they obviously can't be stored in stack Bcoz there value won't be retained between function call.
The value of an automatic variable that is declared but not initialized is indeterminate.Some debug implementations will preset uninitialized variables to a known state, such as 0xcccccccc, or my favorite, 0xcacacaca, but that is just a hint that you are doing something very, very wrong if you ever encounter such a value.
You declare a variable by first defining its data type and then its name followed by a semi-colon. Here is an example: int variable; The example above declares an uninitialized integer variable. You can initialize the variable by giving it a value such as "int variable = 1;". It is important to initialize your variables, because you can get errors when executing your program that the variable does not have a value or is uninitialized. Variables that are uninitialized have whatever garbage value happens to be when the program is executed. Here are all of the data types that a variable can be: *int - integer value *char - character value *bool - boolean value
Auto variables are stored on the stack alongside all other local variables.
The program's data segment. This area of memory is allocated by the linker and is used to store the program's global variables, static variables, static arrays and constants. Constants are always initialised, as are static variables, but global variables and static arrays need not be initialised.
Dynamic variables are stored in a memory heap allocated to them at run time.
It depends entirely on what platform you are using. In an embedded environment, for instance global/static variables go into different RAM memory segments depending on whether or not they are initialised. constants are often left in ROM automatic variables are normally placed of the stack of the currently running task but not always.
Stack.
They is not.
Stack.