Abhishek wrote:
Or probably you could do that this way..
Do what? Who? (certainly not Chuck)
after u have assigned all the values in the matrix, you can assign a
totally different value(A value u think which is definitely not there
in the matrix) at the last position.
Inside the function to which u pass just the address of the first
element, you can scan through all the elements till you find the
representing element. once you have found the element, you know how
many elements it contains. but I am not sure if this technique can be
used for all the dimensions of the array. But I am sure it will work
for one dimension.
probably someone else can add more to this.
bye
It's highly unlikely that anyone can add anything to what you just said,
as it's not at all clear what are you talking about, and not even /who/
are you replying to. Many won't even try.
Also, using text-speak makes it /very/ difficult to read your post.
Please quote what (and who!) you're replying to. If you use Google, use
the instructions:
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
--
My mother loved children -- she would have given anything if I had been
one.
-- Groucho Marx