home
clear breadcrumbs
search
login
 
array
#include "iostream" using namespace std; int main() { int arr[5]; for (int i = 0; i <= sizeof(arr[0]); i++) { arr[i] = i; } cout << "|"; for (int i = 0; i <= sizeof(arr[0]); i++) { cout << arr[i] << "|"; } return 0; }