how does a general function , that accepts an array as a
parameter, "knows" the size of the array ?
How should it define it parameters list ?

Answer Posted / ganesh bankar

its compilers job to identify what is the size the array
depending upon which array is passed to the function.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is keyword with example?

643


4. main() { int c=- -2; printf("c=%d",c); }

1371


Where are the auto variables stored?

626


How do you construct an increment statement or decrement statement in C?

746


How can you allocate arrays or structures bigger than 64K?

684






How to create struct variables?

595


What is the use of typedef in structure in c?

547


What is keyword in c?

605


Write a Program to accept different goods with the number, price and date of purchase and display them

5453


please send me the code for multiplying sparse matrix using c

1728


What are different types of operators?

599


What are two dimensional arrays alternatively called as?

662


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2304


What is wrong with this statement? Myname = 'robin';

823


How do you determine the length of a string value that was stored in a variable?

652