Re: A89: Arrays in C
[Prev][Next][Index][Thread]
Re: A89: Arrays in C
actually, what you are thinking of is this:
int a[3];
a[0]=9;
a[1]=2;
a[2]=7;
and yes, you can instead do this:
int a[]={9,2,7};
--robin
TurboSoft@aol.com wrote:
>
> instead of doing this:
> int a[0] = 9
> int a[1] = 2
> int a[2] = 7
>
> can l do something like this:
> a[] = {9,2,7}
>
> or something similar, where vals. don't have to be inputed one at a time into
> an array?
> --TurboSoft
>
> Visit the TURBOSOFT HOMEPAGE: The most current Basic and C programs created
> by TurboSoft for the 89, and the most 89 web links.
> <A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>
Follow-Ups:
References: