answersLogoWhite

0

.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

If an array is declared in user defined function and pointer to this array is returned to main function is it possible to access that array?

Either put some array terminator as the last element (like '\0') or return the length of the array as an output from user defined function.


Argument Array in java script?

There is an arguments object in JavaScript. This object is treated much like an array (but it's not actually an array.)You can however reference the arguments passed to a function via this array. For instance, if we call a function like so:exampleFunc('Tom', 15, 'potato');Then we can access the value of Tom at the local variable arguments[0].


How do you access elements of array of structure in a function?

For example: struct { int fld; } v[2]; v[0].fld = 1;


What is the array function in CAD?

there r 2 types of array in cad - rectangular array and polar array...........


Why the array is starting from zero?

By design; it makes the compiler's work easier. 1-based array's addressing-function: Address (array, index) = Address (array) + (index-1)*Elemsize(array) 0-based array's addressing-function: Address (array, index) = Address (array) + index*Elemsize (array)


How is an array name interpretedwhen it is passed to a function?

An array is still an array, regardless of how you pass it into functions. It is still an array-type variable at the beginning of a function. However, the function itself may manipulate the array by "imploding" it into a string with a delimiter, using array values with only specific keys, and such.


What is the purpose of AND array?

AND array is used for developing digital circuit it is used in PLA programmable logic array and PAL programmable array of logic to implement the function. the number of and array will depend on how long you has function to be implemented.These are Digital circuits.


How do you return an array from function?

By returning a pointer to the first element of the array.


How can and array be passed to a funaction?

try this: <function-name> ( <array-name> )


What is need to array?

Because using array you can easily access the data required


How do you merge two array without using function?

Take another array big enough to hold both array copy content of these two array into new one. You merged two array and haven't used a single function.!


When an array name is passed to function in c?

It 's address is received by the function . that any changes in the value of array elements in the function will result in actual change.