0_0_31431858_23627.cpp: In function 'int main()': 0_0_31431858_23627.cpp:31:9: error: 'a' was not declared in this scope a[0] = len; ^