Programing lang


#1

image

o/p?


#2

Output is : 0 1 0
for static variable default value is 0.
m[x] = ++x; // it is pre increment so m[1]=1;
m[0],m[2] are 0 s only by default.


#3

m[2]=0?..


#4

initially m[0…9] all are 0 s because those are static variable.
So m[2]=0