Can someone tell me how I could assign a value to every element in an array with a single line of code? Is it even possible? Right now i have this,
yposi[0] = 0;
yposi[1] = 0;
yposi[2] = 0;
yposi[3] = 0;
yposi[4] = 0;
but is it possible to turn all of that into a single line of code which assigns 0 to every element in the array?