I know that in c and c++, the variables are uninitialized by default. On the other hand in java they are initialized to 0 or null by default.
What is the corresponding default initialization in GLSL? Specifically, what are the default values when we create the following variables?
int val;
vec4 arr[20];