Advertisement
hiker43

*(niza+i)

Sep 6th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6.  
  7. int main()
  8. {
  9.  
  10.  double niza[]={1,2,3,2228,5};
  11.  int golemina= sizeof(niza)/sizeof(niza[0]);
  12.  
  13.  
  14.      for (int i=0; i< golemina; i++)
  15.      {
  16.  
  17.       cout<<"Niza["<<i<<"]"<<"=";
  18.       cout<<*(niza+i)<<"\n";
  19.      }
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement