Advertisement
dllbridge

Untitled

Feb 8th, 2025
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. #include <windows.h>
  2. #include <iostream>
  3. using namespace std;
  4.  
  5.  
  6. ////////////////////////////////////////////////////////////
  7. int main()
  8. {
  9.    
  10.     int ma[15] = { 10, 11, 12, 13, 14 };
  11.  
  12.     int i = 2; 
  13.    
  14.     ma[7] = 1000000;
  15.     for(;i < 10; i++)
  16.     {
  17.       cout << "ma["<< i << "] = " <<ma[i] << endl;
  18.     }
  19.     cin >> i;
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement