Re: How to initialize an array?
"Todor Kostadinov" <[email protected]>
| Newsgroups | gmane.comp.programming.cppug |
|---|---|
| Message-ID | <[email protected]> |
int x[10]={98536779];
Yours sincerely
T. J. Kostadinov
--- In [email protected], "Anand. M" <manoharanand@y...> wrote:
> Can anyone tell me how to initialize all the elements in an array
> dummy[100] to one value, say 10, without using a for loop, that is
> the run time should not be O(n)
>
> Thanks
>
> Anand
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/EbFolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
[email protected]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/