C语言的细节(一)

#include <iostream>
void main()
{
	int i[5]={1,5,3,4,5};
	int *p=i;
	//*p++;
	printf("%d",++*p++);//2
	printf("%d",*p);//5

	//printf("%d",*p);
	//printf("%d",-5/3);
	//printf("%d\n",5/-3);

	//printf("%d\n",5%-3);//2
	//printf("%d\n",-5%3);//-2
	//printf("%d",-5%-3);//-2
}


你可能感兴趣的:(C语言的细节(一))