Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 answers
573 users
#include <iostream> using std::cout; using std::endl; int main() { const int TOTAL = 3; int arr[TOTAL] = { 123, 21, 99 }; cout << *arr << endl; cout << *(arr + 1) << endl; cout << *(arr + 2) << endl; return 0; } /* run: 123 21 99 */