View difference between Paste ID: BPU6sZRf and whvVyC8H
SHOW: | | - or go back to the newest paste.
1
#include <iostream>
2
3-
using namespace std;
3+
4
{
5
    int tablica[3] = {5,10,15};
6
    for(int i = 0; i < 3; ++i) std::cout << *(tablica+i) << std::endl;
7-
    int tablica[3];
7+
8-
    tablica[0] = 5;
8+