Hello. My task is to describe the structure of a note which contains the following fields: First Name, Last Name, Telephone Number, Date of Birth (an array of 3 numbers). The latter is a prerequisite. I described the structure, made input and output. Everything works, but all records except the last one in the year of birth have a strange meaning different from the one entered. I attach an output screen and a code to the question. 
// Struct_simpled.cpp: определяет точку входа для консольного приложения. // #include "stdafx.h" #include "stdio.h" #include "iostream" #include "conio.h" using namespace std; struct note { char name[30]; char sec_name[50]; char phone[15]; int date[3]; }; note point[3]; int _tmain(int argc, _TCHAR* argv[]) { for (int i = 1; i <= 3; i++) //ввод структуры { cout << "input the Name (30 char's)" << endl; cin >> point[i].name; cout << "input the second name (50 char's)" << endl; cin >> point[i].sec_name; cout << "input phone number (15 characters)" << endl; cin >> point[i].phone; cout << "input the date of birthday" << endl; for (int j = 1; j <= 3; j++) { cin >> point[i].date[j]; } } for (int i = 1; i <= 3; i++) // вывод структуры { cout << point[i].name << " " << point[i].sec_name << " " << point[i].phone << " "; for (int j = 1; j <= 3; j++) { cout << point[i].date[j]<<"."; } cout << endl; } _getch(); return 0; } Question: why and because of what the last element of the date array is littered?