Is below statement is correct?
int value = 20;
Compiler will through error like Constant expression required while compiling above line.
Array size should always be mentioned with a positive integer because size cannot be in negative value. Declaring like arr is correct but arr[value] is invalid declaration even value has been declared before array declaration.