All pastes #357636 Raw Edit

Unnamed

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