摘要:
#include<stdio.h> #define N 10 int main() { int s,i,j,tmp; int a[10]={78,56,38,99,81,86,39,100,49,78}; for( i=0; i<10;i++) printf("%d ",a[i]); printf( 阅读全文
摘要:
int i; const int* p1=&i; int const* p2=&i; int *const p3=&i; 判断哪个被const了的标志是const在*的前面还是后面 p1、p2是同一种const,不能直接对*p赋值;p3不能进行p3++操作。 如:const int* p=&i; i 阅读全文