Re: how to test this piece of C code
- From: Randy Howard <randyhoward@xxxxxxxxxxxxxxxxx>
- Date: Sat, 10 Mar 2007 08:32:53 GMT
On Sat, 10 Mar 2007 02:22:10 -0600, subramanian100in@xxxxxxxxx, India
wrote
(in article <1173514930.551881.189210@xxxxxxxxxxxxxxxxxxxxxxxxxx>):
Thanks for the suggestion.
Kindly bear with me for the following question.
I am just learning C at present. So I may not need SIZE_MAX memory for
testing purpose now.
However, in real world applications ie in Job envorinment(I am
preparing for interview/skill test, etc), will they have more than 4GB
of RAM in order to test such code ?
It depends upon the company, how much budget they allocate toward
development and test hardware, and the expect usage model of their
products in the field. A lot will go cheap and only provide you with
equipment to match the bulk of their customer base, not the corner
cases.
The right answer is to test those cases, from an interview standpoint,
although it often does not happen in practice.
Still, who wants an app to chomp up SIZE_MAX memory?
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw
.
- Follow-Ups:
- Re: how to test this piece of C code
- From: subramanian100in@xxxxxxxxx, India
- Re: how to test this piece of C code
- References:
- how to test this piece of C code
- From: subramanian100in@xxxxxxxxx, India
- Re: how to test this piece of C code
- From: Richard Heathfield
- Re: how to test this piece of C code
- From: subramanian100in@xxxxxxxxx, India
- how to test this piece of C code
- Prev by Date: Re: how to test this piece of C code
- Next by Date: Re: Converting Numbers to Words in English by recursion.
- Previous by thread: Re: how to test this piece of C code
- Next by thread: Re: how to test this piece of C code
- Index(es):
Relevant Pages
|