0_0_25529486_28869.cpp: In function 'int main()': 0_0_25529486_28869.cpp:28:13: error: 'temp' was not declared in this scope temp=a[i].left; ^