I don't understand how the array allocation statement and the function for retrieving the number of array elements work.
Author: hidekchi45Executions: 66
※ This library was created by a member. This site is not responsible for its content.
Verifying array allocation behavior. I do not understand how the array allocation instruction and the function for retrieving the number of array elements work.
I’ve included the source code below, so I’d appreciate an explanation of how it works.
numeric sieve[];
keilen1 = kei_length(sieve);
numeric sieve[0];
keilen2 = kei_length(sieve);
if (flg1 == 1)
{numeric sieve[88];}
keilen3 = kei_length(sieve);
println(keilen1);
println(keilen2);
println(keilen3);
keilen1 = kei_length(sieve);
numeric sieve[0];
keilen2 = kei_length(sieve);
if (flg1 == 1)
{numeric sieve[88];}
keilen3 = kei_length(sieve);
println(keilen1);
println(keilen2);
println(keilen3);
No customer feedback for this calculation yet.