#include <iostream>

//����ָ����������е�Ԫ��
#if(0)
int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
	std::cout << "�����е�һ��Ԫ��Ϊ��" << arr[0] << std::endl;

	int* p = arr;   //��������������arr���׵�ַ
	
	
	//����ָ������������ĵ�һ��Ԫ��
	std::cout << "����ָ����ʵ�һ��Ԫ��: " << *p << std::endl;
	
	p++;//��ָ�����ƫ���ĸ��ֽ�
	std::cout << "����ָ����ʵڶ���Ԫ�أ�" << *p << std::endl;

	std::cout << "����ָ��������飺" << std::endl;
	int* p2 = arr;
	for (int i = 0; i < 10;i++)
	{
		//std::cout << arr[i] << std::endl;
		std::cout << *p2 << std::endl;
		p2++;
	}



	system("pause");

	return 0;
}
#endif