Re: c doubt
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Fri, 06 Apr 2007 07:47:28 +0000
swapna.annamaneni@xxxxxxxxx said:
hi,
i tried with this simple code
int array[],i;
for(i=-1;i<=sizeof(array);i++)
but the condition is failing always even array size is greater than
zero.
The code you have posted does not compile. You claim that "the condition
is failing always", which suggests that you do have a program which
will compile. I suggest you post that program, and ask for feedback on
it. What you have posted here is so incorrect in so many ways that it
is not clear exactly what you are asking.
can u help me.............
Whoever taught you English has misinformed you, and done you a
disservice. The letter 'u' is not a substitute for "you". It is just a
letter of the alphabet. Using it incorrectly in place of "you" makes
your article less pleasant to read, and some people here who could help
you may not bother to read your article if you are making it needlessly
unpleasant to do that.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.
- References:
- c doubt
- From: swapna . annamaneni
- c doubt
- Prev by Date: Re: brain teasers
- Next by Date: Re: Creating a DLL
- Previous by thread: Re: c doubt
- Next by thread: writing to database
- Index(es):
Relevant Pages
|
|