in Programming in C
138 views
1 vote
1 vote

Does C support fractional Indices?

float x = some fraction;

Is float a[x] valid declaration?

in Programming in C
138 views

1 Answer

0 votes
0 votes
It is invalid. Index value has to be integer type.
edited by