0_0_32320758_11224.cpp: In function 'int main()': 0_0_32320758_11224.cpp:12:18: error: 'cmp' was not declared in this scope sort(a+1,a+n+1,cmp); ^