Hi everyone,
I've just started studying arrays and have a question.
Is there a way to initialize all of the elemts of an array to 0 at the same time.
And does anyone know a good place to start reading on arrays on the web?
thanks
Hi everyone,
I've just started studying arrays and have a question.
Is there a way to initialize all of the elemts of an array to 0 at the same time.
And does anyone know a good place to start reading on arrays on the web?
thanks
int array[ELEM]
for tutorialsCode:for(i = 0 ; i < ELEM ; i++) array[i] = 0;
www.google.com
www.altavista.com
www.yahoo.com
....
stormbringer
so there is no way to do it without loop?
char *arrayOfStrings[256] =
{
"String number 1",
"String number 2",
"String number 3",
"String number 4",
"String number 5",
"String number 6"
};