hii to all my frnd;;;;
i want to know about function ;

how it calls by value and address?
so plz help me;;;[U[/U]

sergent commented: learn to spell before asking questions -1

C always passes parameters by value (a copy), BUT a copy of an address (like a pointer), is REALLY still an address, isn't it?

So there's your copy by reference or address, right there.

Remember also, that an array, when being sent as a parameter to a function, will always be degraded to a simple pointer. When the function receives it, it has to be told what the type of pointer actually is (array with 1 dimension, or array with two dimension, or whatever).

Array passing to a function, especially arrays with 2 dimensions or more, take some extra study and practice.