All pastes #357684 Raw Edit

Unnamed

public cpp v1 · immutable
·published 2007-02-15 21:26 UTC
rendered paste body
#include <cstdlib>#include <iostream>using namespace std;int main(int argc, char *argv[]){	int taulu_a[10] = { 0 };	int *aPtr = taulu_a;	int *taulu_b[10] = { 0 };		for(int x = 0; x < 10; x++)	{		*(aPtr + x) = x;		}		for(int x = 0; x < 10; x++)	{		*(taulu_b + x) = &taulu_a[x];	}	  	for(int x = 0; x < 10; x++)	{		cout << *taulu_b[x];		}	cout << endl;	system("PAUSE");    return EXIT_SUCCESS;}