# include // #include // #include // #include // #include // #include // #include using namespace std; #define NN 1000 const int MAXHASH = 100000; //selection sort, but record indices int* sortindices (int* X , int size){ int t,j; int * ret = new int[size]; int * busy = new int[size]; for ( t=0; t=size) break; if (X[j]0){ i++; v = s[i] * i*i; sum += v; // cout << " "<< i <<" "<< s[i-1]<<" "<> num; // int* sqn= square(&num); // function call // cout << "The square is " << sqn <<" ; input number is "<> "; // cin >> n; // store the new number n=-999; if(n == -999) break; cout << "what is the number?"; ptr[count]=n; // store the new number count++; // increment the count if(count >= size) { // no more space left size += 5; // increase the size new_ptr = new int[size]; // get a bigger array dynamically cout<<" array re-allocated with size="<>1; } cout<0) cout<<1; else cout<<0; t2 = t2<<1; } //return 0; var=72; cout<<"\n\n SHIFTING, BITWISE OR/AND\n "<>1; } var=184; cout<<"\n"<>1; } cout << "\n\n72 & 184 ="<<(72&184)<